定时同步组织代码
This commit is contained in:
parent
34f9eae515
commit
f5d37f0d04
@ -2684,7 +2684,6 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
content.append("<tr class='tagContentTableTr' id='tr_" + id + "' > <td>" + attributeModel.getNewTitle() + "</td> <td class='tagContentTableTrTd'>" + requiredSpan + input + "</td> </tr>");
|
||||
sb.append(id + "|");
|
||||
}
|
||||
System.out.println("content========"+content.toString());
|
||||
map.put("content", content.toString());
|
||||
map.put("attrIds", sb.toString());
|
||||
map.put("refs", refs);
|
||||
@ -8281,6 +8280,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
Boolean flag1=false;
|
||||
Boolean flag2=false;
|
||||
StringBuilder sb = new StringBuilder();
|
||||
StringBuffer sb1=new StringBuffer();
|
||||
sb.append("<span>质量校验<span><br/>");
|
||||
for (PALRepositoryPropertyModel property : propertys) {
|
||||
String id = property.getPropertyId();
|
||||
@ -8394,7 +8394,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
|
||||
if (isRequired) {
|
||||
if(UtilString.isEmpty(inputValue)){
|
||||
sb.append(attributeModel.getTitle()).append(",");
|
||||
sb.append("''"+attributeModel.getTitle()+"''").append(",");
|
||||
flag1=true;
|
||||
}
|
||||
|
||||
@ -8428,7 +8428,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
if(Boolean.parseBoolean(isRequired)==true){
|
||||
String inputvalue = attributesJsonArray.getJSONObject(k).getString("value");
|
||||
if(UtilString.isEmpty(inputvalue)){
|
||||
sb.append(attributesJsonArray.getJSONObject(k).getString("name")).append(",");
|
||||
sb.append("''"+attributesJsonArray.getJSONObject(k).getString("name")+"''").append(",");
|
||||
flag2=true;
|
||||
}
|
||||
}
|
||||
@ -8442,17 +8442,18 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
|
||||
}
|
||||
if(flag1==true || flag2==true){
|
||||
sb.append("未填写,请检查!");
|
||||
sb1.append(sb.substring(0, sb.length()-1));
|
||||
sb1.append("未填写,请检查!");
|
||||
}
|
||||
|
||||
int sb1indexOf=sb.indexOf("未填写");
|
||||
if(sb1indexOf==-1 ){
|
||||
int index=sb1.indexOf("未填写");
|
||||
if(index==-1 ){
|
||||
ro.put("result","ok");
|
||||
}else{
|
||||
ro.put("result","error");
|
||||
}
|
||||
|
||||
ro.put("sb",sb);
|
||||
ro.put("sb",sb1);
|
||||
return ro.toString();
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user