fix(接口测试): 修复场景一直loading问题
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001018825 --user=郭雨琦
This commit is contained in:
parent
9e584350d7
commit
d8549e02dc
|
@ -168,10 +168,10 @@ public class MsHashTreeService {
|
||||||
} else {
|
} else {
|
||||||
if (StringUtils.equalsIgnoreCase(element.optString(REFERENCED), "Copy")) {
|
if (StringUtils.equalsIgnoreCase(element.optString(REFERENCED), "Copy")) {
|
||||||
ApiDefinitionResult definitionWithBLOBs = apiDefinitionService.getById(element.optString(ID));
|
ApiDefinitionResult definitionWithBLOBs = apiDefinitionService.getById(element.optString(ID));
|
||||||
Project project = projectMapper.selectByPrimaryKey(definitionWithBLOBs.getProjectId());
|
|
||||||
definitionWithBLOBs.setProjectName(project.getName());
|
|
||||||
definitionWithBLOBs.setVersionEnable(project.getVersionEnable());
|
|
||||||
if (definitionWithBLOBs != null) {
|
if (definitionWithBLOBs != null) {
|
||||||
|
Project project = projectMapper.selectByPrimaryKey(definitionWithBLOBs.getProjectId());
|
||||||
|
definitionWithBLOBs.setProjectName(project.getName());
|
||||||
|
definitionWithBLOBs.setVersionEnable(project.getVersionEnable());
|
||||||
element.put(ID, definitionWithBLOBs.getId());
|
element.put(ID, definitionWithBLOBs.getId());
|
||||||
this.setElement(element, definitionWithBLOBs.getNum(), enable, definitionWithBLOBs.getVersionName(), definitionWithBLOBs.getVersionEnable());
|
this.setElement(element, definitionWithBLOBs.getNum(), enable, definitionWithBLOBs.getVersionName(), definitionWithBLOBs.getVersionEnable());
|
||||||
isExist = true;
|
isExist = true;
|
||||||
|
|
Loading…
Reference in New Issue