diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioReportMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioReportMapper.xml
index 83dad3f4da..c7c905e002 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioReportMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioReportMapper.xml
@@ -105,7 +105,11 @@
-
+
+ and `scenario_id` IN
+ (SELECT id FROM ui_scenario WHERE name like CONCAT('%', #{${condition}.testName.value},'%') )
+
+
and `scenario_id` IN
(SELECT id FROM api_scenario WHERE name like CONCAT('%', #{${condition}.testName.value},'%') )
@@ -154,6 +158,7 @@
+