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