fix(88479): 解读流程导入校验问题
This commit is contained in:
+5
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user