|
|
@ -166,9 +166,11 @@ public class BaseModelConfigRest implements BaseModelConfigFeign { |
|
|
|
entity.setConfigName(configName); |
|
|
|
configName += dto.getOtherConfig(); |
|
|
|
List<String> stringList = baseModelConfigService.checkByConfigName(sid); |
|
|
|
for (String s : stringList) { |
|
|
|
if (s.equals(configName)){ |
|
|
|
return rb.setMsg("该常用配置已存在"); |
|
|
|
if (stringList != null || stringList.size() > 0){ |
|
|
|
for (String s : stringList) { |
|
|
|
if (configName.equals(s)){ |
|
|
|
return rb.setMsg("该常用配置已存在"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
entity.setCreateOrgSId(sid); |
|
|
|