fix: 场景测试消息
This commit is contained in:
parent
cb6a4cb285
commit
d9bff9324b
|
@ -191,8 +191,10 @@ public class ApiScenarioReportService {
|
||||||
startTime = scenarioResult.getRequestResults().get(0).getStartTime();
|
startTime = scenarioResult.getRequestResults().get(0).getStartTime();
|
||||||
}
|
}
|
||||||
ApiScenarioReport report = editReport(scenarioResult, startTime);
|
ApiScenarioReport report = editReport(scenarioResult, startTime);
|
||||||
report.setTriggerMode(ReportTriggerMode.CASE.name());
|
if (!StringUtils.equals(ReportTriggerMode.API.name(), report.getTriggerMode())) {
|
||||||
apiScenarioReportMapper.updateByPrimaryKeySelective(report);
|
report.setTriggerMode(ReportTriggerMode.CASE.name());
|
||||||
|
apiScenarioReportMapper.updateByPrimaryKeySelective(report);
|
||||||
|
}
|
||||||
|
|
||||||
// 报告详情内容
|
// 报告详情内容
|
||||||
ApiScenarioReportDetail detail = new ApiScenarioReportDetail();
|
ApiScenarioReportDetail detail = new ApiScenarioReportDetail();
|
||||||
|
|
Loading…
Reference in New Issue