diff --git a/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml b/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml
index e9a0d6e0e6..379424e0e3 100644
--- a/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml
+++ b/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml
@@ -114,12 +114,7 @@
#{v}
-
- or t3.status is null or t3.status = ''
-
-
- )
-
+
not in
@@ -237,8 +232,11 @@
+
+ or t3.status is null or t3.status = ''
+
+ )
-
@@ -446,7 +444,8 @@
- and (t3.status IS NULL or t3.status = '' or t3.status = 'Prepare' or t3.status = 'Underway' or t3.status = 'stop')
+ and (t3.status IS NULL or t3.status = '' or t3.status = 'Prepare' or t3.status = 'Underway' or t3.status =
+ 'stop')
and t3.status = 'success'
@@ -491,7 +490,7 @@
and (t3.status in
- (#{value})
+ #{value}
or t3.status is null or t3.status = ''
@@ -1043,63 +1042,63 @@
WHERE
(atc.status is null or atc.status != 'Trash')
- and ad.protocol = #{request.protocol}
+ and ad.protocol = #{request.protocol}
- and ad.project_id = #{request.projectId}
+ and ad.project_id = #{request.projectId}
- and (atc.name like CONCAT('%', #{request.name},'%')
- or atc.tags like CONCAT('%', #{request.name},'%')
- or atc.num like CONCAT('%', #{request.name},'%'))
+ and (atc.name like CONCAT('%', #{request.name},'%')
+ or atc.tags like CONCAT('%', #{request.name},'%')
+ or atc.num like CONCAT('%', #{request.name},'%'))
- and atc.id not in
-
- #{notInId}
-
+ and atc.id not in
+
+ #{notInId}
+
- and ad.module_id in
-
- #{nodeId}
-
+ and ad.module_id in
+
+ #{nodeId}
+
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
-
- and atc.priority in
-
- #{value}
-
-
-
- and atc.status in
-
- #{value}
-
-
-
- and atc.version_id in
-
- #{value}
-
-
-
-
-
+
+
+
+
+ and atc.priority in
+
+ #{value}
+
+
+
+ and atc.status in
+
+ #{value}
+
+
+
+ and atc.version_id in
+
+ #{value}
+
+
+
+
+