update
This commit is contained in:
+8
-3
@@ -2012,10 +2012,15 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
||||
// countError++;
|
||||
// }
|
||||
|
||||
//判断长度
|
||||
if (StringUtils.isNotBlank(value) && value.length() > 50) {
|
||||
errorMsg += "条款号" + "不能超过" + "50" + "个字;";
|
||||
if (StringUtils.isEmpty(value)) {
|
||||
errorMsg += "条款号不能为空;";
|
||||
countError++;
|
||||
} else {
|
||||
//判断长度
|
||||
if (value.length() > 50) {
|
||||
errorMsg += "条款号" + "不能超过" + "50" + "个字;";
|
||||
countError++;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (StringUtils.equals(key,"item_title")) {
|
||||
|
||||
Reference in New Issue
Block a user