From e10106bcd7dc2a7077656be38eb5c09048fdc7ef Mon Sep 17 00:00:00 2001 From: wangzhijiang <1358525938@qq.com> Date: Tue, 12 Mar 2024 19:48:15 +0800 Subject: [PATCH] update --- .../service/impl/FileSplitItemsEOServiceImpl.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/byd-structuredplugins-serve/laws-modules/src/main/java/com/jero/modules/split/service/impl/FileSplitItemsEOServiceImpl.java b/byd-structuredplugins-serve/laws-modules/src/main/java/com/jero/modules/split/service/impl/FileSplitItemsEOServiceImpl.java index 5687979..55d2cfc 100644 --- a/byd-structuredplugins-serve/laws-modules/src/main/java/com/jero/modules/split/service/impl/FileSplitItemsEOServiceImpl.java +++ b/byd-structuredplugins-serve/laws-modules/src/main/java/com/jero/modules/split/service/impl/FileSplitItemsEOServiceImpl.java @@ -2012,10 +2012,15 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl 50) { - errorMsg += "条款号" + "不能超过" + "50" + "个字;"; + if (StringUtils.isEmpty(value)) { + errorMsg += "条款号不能为空;"; countError++; + } else { + //判断长度 + if (value.length() > 50) { + errorMsg += "条款号" + "不能超过" + "50" + "个字;"; + countError++; + } } } if (StringUtils.equals(key,"item_title")) {