diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiReportMapper.xml b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiReportMapper.xml index 0ba44eddbd..bfc6bc06d2 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiReportMapper.xml +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiReportMapper.xml @@ -149,7 +149,7 @@ - and project.organization_id in + and api_report.organization_id in #{value} @@ -171,6 +171,7 @@ ar.create_user AS operationName, ar.trigger_mode, ar.start_time, + project.organization_id, CASE WHEN ar.integrated = 0 THEN diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiScenarioReportMapper.xml b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiScenarioReportMapper.xml index 20d56cebcb..c389c30870 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiScenarioReportMapper.xml +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiScenarioReportMapper.xml @@ -151,6 +151,7 @@ asr.trigger_mode, asr.script_identifier, asr.start_time, + project.organization_id, CASE WHEN asr.integrated = 0 THEN @@ -293,7 +294,7 @@ - and project.organization_id in + and api_scenario_report.organization_id in #{value} diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml index 17281be159..021472807c 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml @@ -2,7 +2,7 @@