refactor(接口管理): 场景导入查询数据增加跨项目数据
This commit is contained in:
parent
1937665cea
commit
e8a4a2e9e6
|
@ -104,6 +104,7 @@ public class ApiScenarioSelectAssociateService {
|
||||||
step.setResourceId(item.getId());
|
step.setResourceId(item.getId());
|
||||||
step.setRefType(request.getRefType());
|
step.setRefType(request.getRefType());
|
||||||
step.setProjectId(item.getProjectId());
|
step.setProjectId(item.getProjectId());
|
||||||
|
step.setOriginProjectId(item.getProjectId());
|
||||||
step.setResourceNum(item.getNum().toString());
|
step.setResourceNum(item.getNum().toString());
|
||||||
step.setVersionId(item.getVersionId());
|
step.setVersionId(item.getVersionId());
|
||||||
steps.add(step);
|
steps.add(step);
|
||||||
|
@ -158,6 +159,7 @@ public class ApiScenarioSelectAssociateService {
|
||||||
step.setResourceId(item.getId());
|
step.setResourceId(item.getId());
|
||||||
step.setRefType(request.getRefType());
|
step.setRefType(request.getRefType());
|
||||||
step.setProjectId(item.getProjectId());
|
step.setProjectId(item.getProjectId());
|
||||||
|
step.setOriginProjectId(item.getProjectId());
|
||||||
step.setResourceNum(item.getNum().toString());
|
step.setResourceNum(item.getNum().toString());
|
||||||
step.setVersionId(item.getVersionId());
|
step.setVersionId(item.getVersionId());
|
||||||
steps.add(step);
|
steps.add(step);
|
||||||
|
@ -243,6 +245,7 @@ public class ApiScenarioSelectAssociateService {
|
||||||
step.setResourceId(apiScenario.getId());
|
step.setResourceId(apiScenario.getId());
|
||||||
step.setRefType(request.getRefType());
|
step.setRefType(request.getRefType());
|
||||||
step.setProjectId(apiScenario.getProjectId());
|
step.setProjectId(apiScenario.getProjectId());
|
||||||
|
step.setOriginProjectId(apiScenario.getProjectId());
|
||||||
step.setResourceNum(apiScenario.getNum().toString());
|
step.setResourceNum(apiScenario.getNum().toString());
|
||||||
step.setVersionId(apiScenario.getVersionId());
|
step.setVersionId(apiScenario.getVersionId());
|
||||||
step.setChildren(stepList);
|
step.setChildren(stepList);
|
||||||
|
|
Loading…
Reference in New Issue