diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml
index 2749339f90..23e2570a06 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml
@@ -805,11 +805,11 @@
api_definition.id not in (SELECT api_definition_id FROM api_test_case)
and
- api_definition.id not in (
+ api_definition.id not in
#{nodeId}
- )
+
@@ -818,11 +818,11 @@
api_definition.id in (SELECT api_definition_id FROM api_test_case)
or
- api_definition.id in (
+ api_definition.id in
#{nodeId}
- )
+
)
@@ -836,20 +836,20 @@
- and api_definition.id not in (
+ and api_definition.id not in
#{nodeId}
- )
+
- and api_definition.id in (
+ and api_definition.id in
#{nodeId}
- )
+
@@ -919,11 +919,11 @@
api_definition.id not in (SELECT api_definition_id FROM api_test_case)
and
- api_definition.id not in (
+ api_definition.id not in
#{nodeId}
- )
+
@@ -932,11 +932,11 @@
api_definition.id in (SELECT api_definition_id FROM api_test_case)
or
- api_definition.id in (
+ api_definition.id in
#{nodeId}
- )
+
)
@@ -950,20 +950,20 @@
- and api_definition.id not in (
+ and api_definition.id not in
#{nodeId}
- )
+
- and api_definition.id in (
+ and api_definition.id in
#{nodeId}
- )
+