升版
This commit is contained in:
parent
50d7717efb
commit
f3313e0a0b
@ -3761,6 +3761,7 @@ public String CreateincidenceRelation(boolean isLargeIteration,String olduuid,PA
|
|||||||
ResponseObject ro = null;
|
ResponseObject ro = null;
|
||||||
DesignerShapeRelationDao dao = new DesignerShapeRelationDao();
|
DesignerShapeRelationDao dao = new DesignerShapeRelationDao();
|
||||||
List<DesignerShapeRelationModel> oldModelList = dao.getModelListByFileId(olduuid);
|
List<DesignerShapeRelationModel> oldModelList = dao.getModelListByFileId(olduuid);
|
||||||
|
if(oldModelList.size()>0){
|
||||||
for (DesignerShapeRelationModel oldModel : oldModelList) {
|
for (DesignerShapeRelationModel oldModel : oldModelList) {
|
||||||
|
|
||||||
PALRepositoryModel model = PALRepositoryCache.getCache().get(newModel.getId());
|
PALRepositoryModel model = PALRepositoryCache.getCache().get(newModel.getId());
|
||||||
@ -3843,13 +3844,13 @@ public String CreateincidenceRelation(boolean isLargeIteration,String olduuid,PA
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
ro = ResponseObject.newWarnResponse("创建失败");
|
||||||
}
|
}
|
||||||
|
return ro.toString();
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
ro = ResponseObject.newWarnResponse("创建失败");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return ro.toString();
|
return ro.toString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user