From 01c3ff2f4596c398bf509e9842d0e27ad0b9ee55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Fri, 22 Jul 2022 16:19:02 +0800 Subject: [PATCH] bug --- .../resources/mybatis/mapper/xm/core/dao/XmTestCaseMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}