diff --git a/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanScenarioCaseMapper.xml b/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanScenarioCaseMapper.xml
index 330ec83fed..921703ad9c 100644
--- a/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanScenarioCaseMapper.xml
+++ b/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanScenarioCaseMapper.xml
@@ -245,17 +245,17 @@
- and c.last_result in
+ and t.last_result in
#{value}
- and (c.last_result in
+ and (t.last_result in
#{value}
- or c.last_result is null or c.last_result = ''
+ or t.last_result is null or t.last_result = ''
)