This commit is contained in:
wangzhijiang
2024-03-12 19:48:15 +08:00
parent 57b487ec71
commit e10106bcd7
@@ -2012,12 +2012,17 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
// countError++; // countError++;
// } // }
if (StringUtils.isEmpty(value)) {
errorMsg += "条款号不能为空;";
countError++;
} else {
//判断长度 //判断长度
if (StringUtils.isNotBlank(value) && value.length() > 50) { if (value.length() > 50) {
errorMsg += "条款号" + "不能超过" + "50" + "个字;"; errorMsg += "条款号" + "不能超过" + "50" + "个字;";
countError++; countError++;
} }
} }
}
if (StringUtils.equals(key,"item_title")) { if (StringUtils.equals(key,"item_title")) {
//判断长度 //判断长度
if (StringUtils.isNotBlank(value) && value.length() > 50) { if (StringUtils.isNotBlank(value) && value.length() > 50) {