From 93e824127556196103dd11f9b02ce6fcc89d2a5e Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Wed, 23 Oct 2024 15:31:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=9B=86=E5=90=88=E6=8A=A5=E5=91=8A=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E7=BB=93=E6=9E=9C=E4=B8=BA=E7=A9=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1047875 --user=王旭 【任务中心】-批量执行场景,执行方式为串行+集合报告,任务详情查看执行结果为空 https://www.tapd.cn/55049933/s/1596387 --- .../api/service/scenario/ApiScenarioReportService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())) {