泳道图升版处理
This commit is contained in:
parent
7f70305592
commit
0522307389
Binary file not shown.
@ -4684,8 +4684,9 @@ public class CoeDesignerWeb extends ActionWeb {
|
|||||||
ResponseObject ro = ResponseObject.newOkResponse();
|
ResponseObject ro = ResponseObject.newOkResponse();
|
||||||
DesignerShapeRelationDao dao = new DesignerShapeRelationDao();
|
DesignerShapeRelationDao dao = new DesignerShapeRelationDao();
|
||||||
List<DesignerShapeRelationModel> oldModelList = dao.getModelListByFileId(id);
|
List<DesignerShapeRelationModel> oldModelList = dao.getModelListByFileId(id);
|
||||||
for (DesignerShapeRelationModel oldModel : oldModelList) {
|
|
||||||
|
|
||||||
|
if(oldModelList.size()>0){
|
||||||
|
DesignerShapeRelationModel oldModel=oldModelList.get(0);
|
||||||
//如果关联角色图,则同步复制角色图关联关系
|
//如果关联角色图,则同步复制角色图关联关系
|
||||||
String methodIds = "";
|
String methodIds = "";
|
||||||
if (oldModel.getAttrId().equals("role")) {
|
if (oldModel.getAttrId().equals("role")) {
|
||||||
@ -4705,6 +4706,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ro.toString();
|
return ro.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -716,9 +716,10 @@ public class CoeProcessLevelUtil {
|
|||||||
//bybzp 如果图形是过程链图和BPMN图 则不复制流程绩效和角色
|
//bybzp 如果图形是过程链图和BPMN图 则不复制流程绩效和角色
|
||||||
PALRepositoryModel model = PALRepositoryCache.getCache().get(uuId);
|
PALRepositoryModel model = PALRepositoryCache.getCache().get(uuId);
|
||||||
String methodId = model.getMethodId();
|
String methodId = model.getMethodId();
|
||||||
if("process.bpmn2,process.epc".contains(methodId) && "Process_performance_metrics,role".contains(oldModel.getAttrId())){
|
if(("process.bpmn2,process.epc,process.flowchart".contains(methodId)) && "Process_performance_metrics,role".contains(oldModel.getAttrId())){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
//by bzp end
|
//by bzp end
|
||||||
if (mapNewUUID.containsKey(oldModel.getShapeId())) {
|
if (mapNewUUID.containsKey(oldModel.getShapeId())) {
|
||||||
DesignerShapeRelationModel newModel = new DesignerShapeRelationModel();
|
DesignerShapeRelationModel newModel = new DesignerShapeRelationModel();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user