fix(接口测试): 修复被删除的报告在执行历史无法查看内容的缺陷
--bug=1039374 --user=王孝刚 【接口测试】场景详情-执行历史-查看执行结果-场景报告不存在-右侧仍抽屉展示报告页面 https://www.tapd.cn/55049933/s/1498391
This commit is contained in:
parent
149aeb2525
commit
9d12165c0e
|
@ -138,7 +138,7 @@ public class ApiScenarioReportService {
|
|||
|
||||
private ApiScenarioReport checkResource(String id) {
|
||||
ApiScenarioReportExample example = new ApiScenarioReportExample();
|
||||
example.createCriteria().andIdEqualTo(id).andDeletedEqualTo(false);
|
||||
example.createCriteria().andIdEqualTo(id);
|
||||
List<ApiScenarioReport> scenarioReport = apiScenarioReportMapper.selectByExample(example);
|
||||
if (CollectionUtils.isEmpty(scenarioReport)) {
|
||||
throw new RuntimeException(Translator.get("api_scenario_report_not_exist"));
|
||||
|
|
Loading…
Reference in New Issue