fix(测试跟踪): 测试计划报告列表成功率统计有误

--bug=1021048 --user=陈建星 【测试跟踪】测试计划-报告-成功率统计的不对 https://www.tapd.cn/55049933/s/1319353
This commit is contained in:
chenjianxing 2022-12-26 14:39:49 +08:00 committed by jianxing
parent 9559c2be3d
commit 9290f6a697

View File

@ -198,7 +198,7 @@ public class TestPlanReportService {
if (MapUtils.isNotEmpty(testPlanExecuteReportDTO.getTestPlanUiScenarioIdAndReportIdMap())) {
// 场景用例
reportIds = new ArrayList<>(testPlanExecuteReportDTO.getTestPlanUiScenarioIdAndReportIdMap().values());
planReportCaseDTOS = planApiScenarioReportService.selectForPlanReport(reportIds);
planReportCaseDTOS = planUiScenarioReportService.selectForPlanReport(reportIds);
TestPlanStatusCalculator.buildStatusResultMap(planReportCaseDTOS, statusResultMap, report, ApiReportStatus.SUCCESS.name());
}
}