认证-参数收集清单-填写人导入校验修改
This commit is contained in:
+2
-2
@@ -3837,7 +3837,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
private Map<String, Object> validatePull(String configName, String controlValues, String value, String mustInput, Boolean isSingle, String cut) {
|
private Map<String, Object> validatePull(String configName, String controlValues, String value, String mustInput, Boolean isSingle, String cut) {
|
||||||
String errorMsg = "";
|
String errorMsg = "";
|
||||||
int countError= 0;
|
int countError= 0;
|
||||||
List<String> controlValueList = Arrays.asList(controlValues.split(","));
|
List<String> controlValueList = Arrays.asList(controlValues.replaceAll(",", ",").split(","));
|
||||||
Map<String, Object> resultMap = new HashMap<>();
|
Map<String, Object> resultMap = new HashMap<>();
|
||||||
// StringBuilder newValue = new StringBuilder();
|
// StringBuilder newValue = new StringBuilder();
|
||||||
|
|
||||||
@@ -3854,7 +3854,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
if (StringUtils.isNotEmpty(value)) {
|
if (StringUtils.isNotEmpty(value)) {
|
||||||
//判断是否是单选
|
//判断是否是单选
|
||||||
if (isSingle) {
|
if (isSingle) {
|
||||||
if (StringUtils.isNotBlank(value) && value.contains(",")) {
|
if (StringUtils.isNotBlank(value) && (value.contains("!") ||value.contains("!"))) {
|
||||||
if (CutEnum.CN.getValue().equals(cut)) {
|
if (CutEnum.CN.getValue().equals(cut)) {
|
||||||
errorMsg += configName + "为单选项;";
|
errorMsg += configName + "为单选项;";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user