diff --git a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestCaseMapper.xml b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestCaseMapper.xml
index dbb71d4f..0c3b1efe 100644
--- a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestCaseMapper.xml
+++ b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestCaseMapper.xml
@@ -22,7 +22,7 @@
#{item}
- and exists ( select 1 from xm_test_case_exec c where c.case_id=res.id and c.project_id=#{projectId} )
+ and exists ( select 1 from xm_test_plan_case c where c.case_id=res.id and c.project_id=#{projectId} )
and exists( select 1 from xm_menu m where m.menu_id =res.menu_id
and m.product_id=#{productId}
and m.iteration_id=#{iterationId}