diff --git a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProductMapper.xml b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProductMapper.xml
index 386a36ed..0c5db8cb 100644
--- a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProductMapper.xml
+++ b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProductMapper.xml
@@ -12,11 +12,6 @@
and res.product_name like #{key}
-
- and exists( select 1 from xm_product_project_link ppl
- where ppl.project_id=#{linkProjectId} and ppl.product_id=res.id
- )
-
and exists( select 1 from xm_iteration ppl where ppl.product_id=res.id and ppl.id=#{linkIterationId} )
@@ -36,10 +31,16 @@
@@ -50,10 +51,16 @@
diff --git a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectMapper.xml b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectMapper.xml
index 302cb35c..e4361987 100644
--- a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectMapper.xml
+++ b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectMapper.xml
@@ -48,11 +48,6 @@
and exists ( select 1 from xm_my_focus f where f.userid=#{userid} and f.project_id=res.id )
-
- and exists( select 1 from xm_product_project_link ppl
- where ppl.product_id=#{linkProductId} and ppl.project_id=res.id
- )
-
and exists( select 1 from xm_iteration ipl inner join xm_product_project_link l on ipl.product_id=l.product_id
where l.project_id =res.id and ipl.id=#{linkIterationId}
@@ -115,14 +110,19 @@