diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.xml b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.xml
index 20698c3379..7b6baf404a 100644
--- a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.xml
+++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.xml
@@ -687,10 +687,20 @@
-
-
-
-
+
+
+ atc.last_report_status is null or atc.last_report_status = '' or atc.last_report_status = 'PENDING'
+
+
+ atc.last_report_status is not null and atc.last_report_status != '' and atc.last_report_status != 'PENDING'
+
+
+
+
+
+
+
+