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 f1dd0c4a..c1f2429b 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 @@ -8383,7 +8383,7 @@ public class CoeProcessLevelWeb extends ActionWeb { Boolean flag1=true; - Boolean flag2=false; + Boolean flag2=true; StringBuilder sb = new StringBuilder(); StringBuffer sb1=new StringBuffer(); sb.append("质量校验
"); @@ -8398,17 +8398,16 @@ public class CoeProcessLevelWeb extends ActionWeb { continue; } - boolean flag = true;// 通过 String inputValue = property.getPropertyValue(); if ("relation".equals(attributeModel.getType()) || "awsorg".equals(attributeModel.getType())) { List list = DesignerShapeRelationCache.getListByAttrId(uuid, "", attributeModel.getKey()); if (list == null || list.isEmpty()) { - flag = false; + flag1 = false; } } else { - flag = UtilString.isNotEmpty(property.getPropertyValue()) ? true : false; + flag1 = UtilString.isNotEmpty(property.getPropertyValue()) ? true : false; } - if (!flag) {// 校验不通过 + if (!flag1) {// 校验不通过 sb.append("''"+attributeModel.getTitle()+"''").append(","); flag1 = false; } @@ -8445,16 +8444,15 @@ public class CoeProcessLevelWeb extends ActionWeb { PALMethodAttributeModel attrModel = methodAttributeModelMap.get(shapeName + "-" + attrId); if (attrModel.getIsRequired()) {// 筛选必填 String attrType = attrModel.getType(); - boolean flag = true; if ("relation".equals(attrType) || "awsorg".equals(attrType)) { List list = DesignerShapeRelationCache.getListByAttrId(model.getId(), shapeId, attrId); if (list == null || list.isEmpty()) { - flag = false; + flag2 = false; } } else { - flag = UtilString.isNotEmpty(value); + flag2 = UtilString.isNotEmpty(value); } - if (!flag) { + if (!flag2) { sb.append("''"+shapeName+"''").append(","); flag2=false; @@ -8481,7 +8479,6 @@ public class CoeProcessLevelWeb extends ActionWeb { } - public String definePerformanceCheck(String sid,String obj){ ResponseObject ro = ResponseObject.newOkResponse(); StringBuffer sb=new StringBuffer();