diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioReportService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioReportService.java index ac04bedd55..30e7904cdf 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioReportService.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioReportService.java @@ -481,7 +481,7 @@ public class ApiScenarioReportService { return apiTaskReportDTO; } - private ApiScenarioReportDTO getScenarioReportDetail(String taskId, String taskItemId) { + private ApiScenarioReportDTO getScenarioReportDetail(String taskItemId, String taskId) { ExecTaskItem taskItem = execTaskItemMapper.selectByPrimaryKey(taskItemId); ApiScenarioReportDTO apiScenarioReportDTO = scenarioReportDetail(taskId); if (CollectionUtils.isNotEmpty(apiScenarioReportDTO.getChildren())) {