refactor(接口测试): 修复场景报告显示pending数据错误的缺陷

--bug=1026706 --user=王孝刚 【接口测试】场景-单独&批量生成独立/集合报告-Pending数据显示错误
https://www.tapd.cn/55049933/s/1384420
This commit is contained in:
wxg0103 2023-06-20 19:25:59 +08:00 committed by 刘瑞斌
parent f3df278755
commit e11bf95f14
1 changed files with 0 additions and 1 deletions

View File

@ -309,7 +309,6 @@ public class ApiScenarioReportStructureService {
} else if (StringUtils.isNotEmpty(dto.getType()) && CONTROLS.contains(dto.getType()) && dto.getValue() == null) {
// 条件控制步骤
dto.setTotalStatus(ApiReportStatus.PENDING.name());
dto.setValue(new RequestResultExpandDTO(dto.getLabel(), ApiReportStatus.PENDING.name()));
} else if (dto.getValue() instanceof RequestResultExpandDTO && StringUtils.isNotEmpty((dto.getValue()).getStatus())) {
dto.setTotalStatus((dto.getValue()).getStatus());
} else if (dto.getValue() != null && StringUtils.isEmpty(dto.getTotalStatus())) {