From b2a9a3eefa6f5f424ba3c41e6e99aeadc22ae647 Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Thu, 15 Aug 2024 10:20:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(88479):=20=E8=A7=A3=E8=AF=BB=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E5=AF=BC=E5=85=A5=E6=A0=A1=E9=AA=8C=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/StandardInterpretFlowServiceImpl.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java index bc4a0e25..0c7e6a39 100644 --- a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java @@ -1337,10 +1337,10 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe } String changeDescription = data.getChangeDescription(); - textLenghtCheck(changeDescription, TEXT_LENGTH, errorList, "相对上一版变化点说明长度超出"); + textLenghtCheck(changeDescription, TEXT_LENGTH, errorList, "相对上一版变化点说明"); String regulatoryNotes = data.getRegulatoryNotes(); - textLenghtCheck(regulatoryNotes, TEXT_LENGTH, errorList, "法规注释长度超出"); + textLenghtCheck(regulatoryNotes, TEXT_LENGTH, errorList, "法规注释"); String domainArea = data.getDomainArea(); if (StringUtils.isNotBlank(domainArea)){ @@ -1384,6 +1384,7 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe String newCerImplementDate = data.getNewCerImplementDate(); if (StringUtils.isNotBlank(newCerImplementDate)){ + textLenghtCheck(newCerImplementDate, TEXT_DICT_LENGTH, errorList, "新认证车实施日期"); for (String str : newCerImplementDate.split(",")) { try { dateFormat.parse(str); @@ -1397,6 +1398,7 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe String newProductionImplementation = data.getNewProductionImplementation(); if (StringUtils.isNotBlank(newProductionImplementation)){ + textLenghtCheck(newProductionImplementation, TEXT_DICT_LENGTH, errorList, "新生产车实施日期年份"); for (String str : newProductionImplementation.split(",")) { try { dateFormat.parse(str); @@ -1410,6 +1412,7 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe String registrationDate = data.getRegistrationDate(); if (StringUtils.isNotBlank(registrationDate)){ + textLenghtCheck(registrationDate, TEXT_DICT_LENGTH, errorList, "注册日期年份"); for (String str : registrationDate.split(",")) { try { dateFormat.parse(str);