fix(接口测试): 场景查看引用加载太慢了

--bug=1008247 --user=王孝刚 【接口测试】场景查看引用加载太慢了
https://www.tapd.cn/55049933/s/1073233
This commit is contained in:
wxg0103 2021-11-23 16:54:23 +08:00 committed by 刘瑞斌
parent dd105e51cc
commit 66680cab8b
1 changed files with 1 additions and 1 deletions

View File

@ -1912,10 +1912,10 @@ public class ApiAutomationService {
public ReferenceDTO getReference(ApiScenarioRequest request) {
ReferenceDTO dto = new ReferenceDTO();
request.setProjectId(null);
dto.setScenarioList(extApiScenarioMapper.selectReference(request));
QueryTestPlanRequest planRequest = new QueryTestPlanRequest();
planRequest.setScenarioId(request.getId());
planRequest.setProjectId(request.getProjectId());
dto.setTestPlanList(extTestPlanMapper.selectTestPlanByRelevancy(planRequest));
return dto;
}