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} + + + + + + + +