From 8d7276fd1ea9e8620697be285f4b73c9b0bc64d6 Mon Sep 17 00:00:00 2001 From: wangzhijiang Date: Fri, 31 Mar 2023 11:09:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A4=E8=AF=81=E5=8F=82=E6=95=B0=E6=94=B6?= =?UTF-8?q?=E9=9B=86=E6=B8=85=E5=8D=95-=E5=A1=AB=E5=86=99=E4=BA=BA?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=BF=85=E5=A1=AB=E6=A0=A1=E9=AA=8C=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E3=80=8266949?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/ParamsCollectManifestEOServiceImpl.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsCollectManifestEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsCollectManifestEOServiceImpl.java index 923a209a6..bc43e2ea1 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsCollectManifestEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsCollectManifestEOServiceImpl.java @@ -5940,14 +5940,14 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl resultMap = new HashMap<>(); // 校验必填 - if (IsMustEnum.YES.getValue().equals(mustInput) && StringUtils.isEmpty(value)) { + /*if (IsMustEnum.YES.getValue().equals(mustInput) && StringUtils.isEmpty(value)) { if (CutEnum.CN.getValue().equals(cut)) { errorMsg += configName + "为必填项,不能为空;"; } else { errorMsg += configName + " is mandatory and cannot be empty; "; } countError++; - } + }*/ String fileName = value; if (StringUtils.isNotBlank(fileName)) { @@ -5984,14 +5984,14 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl resultMap = new HashMap<>(); // 校验必填 - if (IsMustEnum.YES.getValue().equals(mustInput) && StringUtils.isEmpty(value)) { + /*if (IsMustEnum.YES.getValue().equals(mustInput) && StringUtils.isEmpty(value)) { if (CutEnum.CN.getValue().equals(cut)) { errorMsg += configName + "为必填项,不能为空;"; } else { errorMsg += configName + " is mandatory and cannot be empty; "; } countError++; - } + }*/ // 校验长度 if (StringUtils.isNotBlank(value) && value.length() > Long.parseLong(dbLength)) {