fix(接口测试): 场景查看引用加载太慢了
--bug=1008247 --user=王孝刚 【接口测试】场景查看引用加载太慢了 https://www.tapd.cn/55049933/s/1073233
This commit is contained in:
parent
dd105e51cc
commit
66680cab8b
|
@ -1912,10 +1912,10 @@ public class ApiAutomationService {
|
||||||
|
|
||||||
public ReferenceDTO getReference(ApiScenarioRequest request) {
|
public ReferenceDTO getReference(ApiScenarioRequest request) {
|
||||||
ReferenceDTO dto = new ReferenceDTO();
|
ReferenceDTO dto = new ReferenceDTO();
|
||||||
request.setProjectId(null);
|
|
||||||
dto.setScenarioList(extApiScenarioMapper.selectReference(request));
|
dto.setScenarioList(extApiScenarioMapper.selectReference(request));
|
||||||
QueryTestPlanRequest planRequest = new QueryTestPlanRequest();
|
QueryTestPlanRequest planRequest = new QueryTestPlanRequest();
|
||||||
planRequest.setScenarioId(request.getId());
|
planRequest.setScenarioId(request.getId());
|
||||||
|
planRequest.setProjectId(request.getProjectId());
|
||||||
dto.setTestPlanList(extTestPlanMapper.selectTestPlanByRelevancy(planRequest));
|
dto.setTestPlanList(extTestPlanMapper.selectTestPlanByRelevancy(planRequest));
|
||||||
return dto;
|
return dto;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue