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