Commit 65280aef authored by Quxl's avatar Quxl

xx

parent de1faf49
...@@ -72,6 +72,13 @@ public class AdminAuthServiceImpl implements AdminAuthService { ...@@ -72,6 +72,13 @@ public class AdminAuthServiceImpl implements AdminAuthService {
for(Map<String, Object> map : list) { for(Map<String, Object> map : list) {
Number menu_id = (Number)map.get("menu_id"); Number menu_id = (Number)map.get("menu_id");
Number parent_id = (Number)map.get("parent_id"); Number parent_id = (Number)map.get("parent_id");
Number group_id = (Number)map.get("group_id");
if(group_id != null) {
map.put("is_show", true);
} else {
map.put("menu_no", null);
map.put("menu_link", null);
}
if((id == null && parent_id == null) || (id.intValue() == parent_id.intValue())) { if((id == null && parent_id == null) || (id.intValue() == parent_id.intValue())) {
Number menu_type = (Number)map.get("menu_type"); Number menu_type = (Number)map.get("menu_type");
if(menu_type.intValue() == 0 || menu_type.intValue() == 1) { if(menu_type.intValue() == 0 || menu_type.intValue() == 1) {
......
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