update
This commit is contained in:
+6
-1
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user