Commit 7a377025 authored by Quxl's avatar Quxl

x

parent 2b803b7d
...@@ -63,7 +63,7 @@ public class AdminAuthServiceImpl implements AdminAuthService { ...@@ -63,7 +63,7 @@ public class AdminAuthServiceImpl implements AdminAuthService {
@Override @Override
public List<Map<String, Object>> queryGroupMenuList(Integer group_id) { public List<Map<String, Object>> queryGroupMenuList(Integer group_id) {
String s = "select am.*, agm.group_id from fc_admin_menu am left join fc_admin_group_menu agm on am.menu_id = agm.menu_id and agm.group_id = ? order by order_num"; String s = "select am.*, agm.group_id from fc_admin_menu am left join fc_admin_group_menu agm on am.menu_id = agm.menu_id and agm.group_id = ? order by am.menu_type, am.parent_id, am.order_num";
List<Map<String, Object>> list = jdbcTemplate.queryForList(s, group_id); List<Map<String, Object>> list = jdbcTemplate.queryForList(s, group_id);
return this.getTree(list, null); return this.getTree(list, null);
} }
......
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