fix(接口定义): 修复测试计划引用,项目筛选不生效的缺陷
--bug=1019886 --user=王孝刚 【接口测试】接口用例-查看引用-测试计划引用tab,所属项目筛选不生效 https://www.tapd.cn/55049933/s/1299708
This commit is contained in:
parent
d271309ea9
commit
4cd9c0ab5d
|
@ -782,12 +782,11 @@ public class TestPlanApiCaseService {
|
|||
this.add(req);
|
||||
}});
|
||||
}
|
||||
QueryReferenceRequest planRequest = new QueryReferenceRequest();
|
||||
if (StringUtils.equals(request.getScenarioType(), ReportTypeConstants.API.name())) {
|
||||
planRequest.setApiId(request.getId());
|
||||
request.setApiId(request.getId());
|
||||
} else {
|
||||
planRequest.setScenarioId(request.getId());
|
||||
request.setScenarioId(request.getId());
|
||||
}
|
||||
return extTestPlanApiCaseMapper.selectTestPlanByRelevancy(planRequest);
|
||||
return extTestPlanApiCaseMapper.selectTestPlanByRelevancy(request);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue