Commit 787c7ae5 authored by fangxinjiang's avatar fangxinjiang

项目规则配置-fxj

parent e9a9e3d5
......@@ -386,7 +386,9 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu
for (SysAutoDictItem item: autoDictItems) {
if (Common.isNotNull(repeatItems)) {
checkItem = repeatItems.get(item.getLabel());
if (null != checkItem && item.getLabel().equals(checkItem.getLabel())){
if (null != checkItem
&& item.getLabel().equals(checkItem.getLabel())
&& !checkItem.getId().equals(item.getId())){
return R.failed(itemsLabelRepeat);
}
repeatItems.put(item.getLabel(),item);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment