认证参数收集清单-填写人导入必填校验去掉。66949
This commit is contained in:
+6
-6
@@ -5940,14 +5940,14 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
Map<String, Object> 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<ParamsCollec
|
||||
// StringBuilder newValue = new StringBuilder();
|
||||
|
||||
// 校验必填
|
||||
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.isNotEmpty(value)) {
|
||||
//判断是否是单选
|
||||
@@ -6047,14 +6047,14 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
Map<String, Object> 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)) {
|
||||
|
||||
Reference in New Issue
Block a user