diff --git a/com.actionsoft.apps.coe.pal/lib/com.actionsoft.apps.coe.pal.jar b/com.actionsoft.apps.coe.pal/lib/com.actionsoft.apps.coe.pal.jar index c471e57c..b1e73cb0 100644 Binary files a/com.actionsoft.apps.coe.pal/lib/com.actionsoft.apps.coe.pal.jar and b/com.actionsoft.apps.coe.pal/lib/com.actionsoft.apps.coe.pal.jar differ diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/web/CoeDesignerWeb.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/web/CoeDesignerWeb.java index 5267a0b2..5c453245 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/web/CoeDesignerWeb.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/web/CoeDesignerWeb.java @@ -5029,12 +5029,13 @@ public class CoeDesignerWeb extends ActionWeb { for (DesignerShapeRelationModel oldModel : oldModelList) { if (oldModel.getAttrId().equals("Process_performance_metrics")) { String methodIds = "control.kpi"; - if (mapNewUUID.containsKey(oldModel.getShapeId())) { + if (UtilString.isEmpty(oldModel.getShapeId()) || mapNewUUID.containsKey(oldModel.getShapeId())) { //重新设置修订关联关系 DesignerShapeRelationModel newModel1 = new DesignerShapeRelationModel(); newModel1.setId(UUIDGener.getUUID()); newModel1.setFileId(newModel.getId()); - newModel1.setShapeId(mapNewUUID.get(oldModel.getShapeId())); + String shapeId = UtilString.isEmpty(oldModel.getShapeId()) ? "" : mapNewUUID.get(oldModel.getShapeId()); + newModel1.setShapeId(shapeId); newModel1.setShapeText(oldModel.getShapeText()); newModel1.setAttrId(oldModel.getAttrId()); newModel1.setRelationFileId(newUUID);