Commit 0c3def01 authored by fangxinjiang's avatar fangxinjiang

代码优化-fxj

parent 1ae96c1d
...@@ -276,7 +276,6 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu ...@@ -276,7 +276,6 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu
} }
// 校验字典项是否有重复标签 // 校验字典项是否有重复标签
List<SysAutoDictItem> autoDictItems = entity.getAutoDictItems(); List<SysAutoDictItem> autoDictItems = entity.getAutoDictItems();
Set<String> repeatItems = new HashSet<>();
if (!checkDictItemsForDuplicates(autoDictItems)) { if (!checkDictItemsForDuplicates(autoDictItems)) {
return R.failed(itemsLabelRepeat); return R.failed(itemsLabelRepeat);
} }
......
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