Commit ab5a868e authored by Quxl's avatar Quxl

z

parent 90371dd4
......@@ -80,7 +80,7 @@ public class AdminAuthServiceImpl implements AdminAuthService {
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 != null && parent_id != null && id.intValue() == parent_id.intValue())) {
Number menu_type = (Number)map.get("menu_type");
if(menu_type.intValue() == 0 || menu_type.intValue() == 1) {
map.put("childs", this.getTree(list, menu_id.intValue()));
......
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