diff --git a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanCaseMapper.xml b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanCaseMapper.xml
index 5aaf66f0..edfb01c2 100644
--- a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanCaseMapper.xml
+++ b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanCaseMapper.xml
@@ -28,6 +28,9 @@
and c.pbranch_id=#{pbranchId}
+
+ and c.test_type=#{testType}
+
and exists ( select 1 from xm_menu m
where m.iteration_id=#{linkIterationId} and c.menu_id=m.menu_id
@@ -151,7 +154,7 @@