From 44d6b1638b4197777001aa36141c4ac359b144c7 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Wed, 12 Oct 2022 15:52:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E7=94=9F=E6=88=90=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=85=B3=E7=B3=BB=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1017712 --user=宋昌昌 【测试跟踪】功能用例-选中所有数据-生成依赖关系失败,Console报错 https://www.tapd.cn/55049933/s/1259653 --- .../base/mapper/ext/ExtTestCaseMapper.xml | 48 ++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index 28342c88b5..6abe3e0ef4 100644 --- a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -415,7 +415,7 @@ select test_case.id from test_case - + @@ -705,6 +705,52 @@ + + + + + + + + + + + and test_case.status != #{request.notEqStatus} + + + and (test_case.name like CONCAT('%', #{request.name},'%') + or test_case.num like CONCAT('%', #{request.name},'%') + or test_case.tags like CONCAT('%', #{request.name},'%') + or test_case.custom_num like CONCAT('%', #{request.name},'%')) + + + and test_case.id in + + #{id} + + + + and test_case.id not in + + #{id} + + + + and test_case.node_id in + + #{nodeId} + + + + and test_case.project_id = #{request.projectId} + + + + + + + +