Commit 7c0a8e70 authored by 赵啸非's avatar 赵啸非

修改设备管理

parent 40abd4b6
...@@ -73,9 +73,11 @@ public class MenuServiceImpl extends AbstractCRUDServiceImpl<MenuDao, MenuEntity ...@@ -73,9 +73,11 @@ public class MenuServiceImpl extends AbstractCRUDServiceImpl<MenuDao, MenuEntity
Long[] ids = authIds.toArray(new Long[authIds.size()]); Long[] ids = authIds.toArray(new Long[authIds.size()]);
for (Long id : ids) { for (Long id : ids) {
MenuEntity menu = menuMap.get(id); MenuEntity menu = menuMap.get(id);
log.info("id:{} to menu:{}",id, JSON.toJSONString(menu));
while (menu != null) { while (menu != null) {
authIds.add(menu.getId()); authIds.add(menu.getId());
menu = menuMap.get(menu.getParentId()); menu = menuMap.get(menu.getParentId());
log.info(" menu:{}", JSON.toJSONString(menu));
} }
} }
} }
......
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