57251 问题完善。
This commit is contained in:
+4
-3
@@ -603,16 +603,17 @@ public class LawsTechnologyEvaluationEOServiceImpl extends ServiceImpl<LawsTechn
|
||||
errorMsg += "Item Contents cannot be empty;";
|
||||
}
|
||||
countError++;
|
||||
}else if(itemContent.length() > 400){
|
||||
}else if(itemContent.length() > 500){
|
||||
if(StringUtils.equals(cut,CutEnum.CN.getValue())){
|
||||
errorMsg += "条款内容长度不能超过400;";
|
||||
errorMsg += "条款内容长度不能超过500;";
|
||||
}else if (StringUtils.equals(cut,CutEnum.EN.getValue())){
|
||||
errorMsg += "Item Contents length of the cannot exceed 400;";
|
||||
errorMsg += "Item Contents length of the cannot exceed 500;";
|
||||
}
|
||||
countError++;
|
||||
}
|
||||
|
||||
if (countError > 0) {
|
||||
errorMsg = errorMsg.substring(0,errorMsg.length()-1);
|
||||
stringMessage.add(errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user