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 b01dbaa2..9802c4e1 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/web/CoeProcessLevelWeb.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java index 630f6512..b13355a7 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/web/CoeProcessLevelWeb.java @@ -9721,6 +9721,8 @@ public class CoeProcessLevelWeb extends ActionWeb { /***************************************************文件属性校验*************************************************/ for (PALRepositoryPropertyModel property : propertys) { + flag1=true; + flag2=true; String id = property.getPropertyId(); if (!attributeModelMap.containsKey(id) || !attributeModelMap.get(id).getUse()) { continue; @@ -9732,8 +9734,9 @@ public class CoeProcessLevelWeb extends ActionWeb { } if ("relation".equals(attributeModel.getType()) || "awsorg".equals(attributeModel.getType())) { - List list = DesignerShapeRelationCache.getListByAttrId(uuid, "", attributeModel.getKey()); - if (list == null || list.isEmpty()) { + String sql = "SELECT ID FROM APP_ACT_COE_PAL_SHAPE_RLAT where FILEID=? and ATTRID=?"; + RowMap orgrowMap= DBSql.getMap(sql, new Object[]{uuid, property.getPropertyId()}); + if(orgrowMap==null){ flag1 = false; } } else { @@ -9741,7 +9744,6 @@ public class CoeProcessLevelWeb extends ActionWeb { } if (!flag1) {// 校验不通过 sb1.append("''" + attributeModel.getTitle() + "''").append(","); - flag1 = false; } } @@ -10636,7 +10638,7 @@ public class CoeProcessLevelWeb extends ActionWeb { * @param id * @return */ - public String getPalProcessLevelRepositoryChildData(String wsId, String teamId, String id, String createUsers, String orgIds, String methodIds) { + public String getPalProcessLevelRepositoryChildData(String wsId, String teamId, String id, String createUsers, String orgIds, String methodIds) { ResponseObject ro = ResponseObject.newOkResponse(); // 获取当前文件信息 PALRepository coeProcessLevel = CoeProcessLevelDaoFacotory.createCoeProcessLevel();