fix(任务中心): 修复集合报告查看结果为空问题

--bug=1047875 --user=王旭 【任务中心】-批量执行场景,执行方式为串行+集合报告,任务详情查看执行结果为空 https://www.tapd.cn/55049933/s/1596387
This commit is contained in:
WangXu10 2024-10-23 15:31:20 +08:00 committed by Craftsman
parent 977e73a63a
commit 93e8241275
1 changed files with 1 additions and 1 deletions

View File

@ -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())) {