57251 问题完善。

This commit is contained in:
wangzhijiang
2022-08-16 16:10:34 +08:00
parent da5c362059
commit 2451d5f172
@@ -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);
}
}