diff --git a/xm-core/src/main/java/com/xm/core/mapper/XmTestCaseMapper.xml b/xm-core/src/main/java/com/xm/core/mapper/XmTestCaseMapper.xml
index 7fdaae7f..e008e635 100644
--- a/xm-core/src/main/java/com/xm/core/mapper/XmTestCaseMapper.xml
+++ b/xm-core/src/main/java/com/xm/core/mapper/XmTestCaseMapper.xml
@@ -28,7 +28,7 @@
and exists ( select 1 from xm_test_plan_case c where c.case_id=res.id and c.project_id=#{ext.projectId} )
- and exists( select 1 from xm_menu m where m.menu_id =res.menu_id
+ and exists( select 1 from xm_menu m where m.menu_id =res.menu_id
and m.product_id=#{ext.productId}
and m.iteration_id=#{ext.iterationId}
)