|
@@ -277,16 +277,17 @@ public class CoreUtil {
|
|
public static Map compareNameWithNode(NodeNeoDTO nodeNeoDTO, List<? extends Item> item) {
|
|
public static Map compareNameWithNode(NodeNeoDTO nodeNeoDTO, List<? extends Item> item) {
|
|
Map<String, Object> map = new LinkedHashMap<>();
|
|
Map<String, Object> map = new LinkedHashMap<>();
|
|
boolean flag = false;
|
|
boolean flag = false;
|
|
|
|
+ List<String> msgList = new ArrayList<>();
|
|
if (ListUtil.isNotEmpty(item) && nodeNeoDTO != null) {
|
|
if (ListUtil.isNotEmpty(item) && nodeNeoDTO != null) {
|
|
for (Item it : item) {
|
|
for (Item it : item) {
|
|
if (it.getUniqueName().equals(nodeNeoDTO.getName())) {
|
|
if (it.getUniqueName().equals(nodeNeoDTO.getName())) {
|
|
flag = true;
|
|
flag = true;
|
|
- map.put("msg", it.getName());
|
|
|
|
- break;
|
|
|
|
|
|
+ msgList.add(it.getName());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
map.put("flag", flag);
|
|
map.put("flag", flag);
|
|
|
|
+ map.put("msg", msgList);
|
|
return map;
|
|
return map;
|
|
}
|
|
}
|
|
|
|
|