原先sql获取角色对应的权限信息:
select a.*, group_concat(b.auth_name) as auth_name from sh_role a left join sh_auth b on find_in_set( b.auth_id, a.role_id_list) group by a.role_id;
标签:mil log list sel blog 信息 group by sql查询 select
原先sql获取角色对应的权限信息:
select a.*, group_concat(b.auth_name) as auth_name from sh_role a left join sh_auth b on find_in_set( b.auth_id, a.role_id_list) group by a.role_id;
标签:mil log list sel blog 信息 group by sql查询 select
原文地址:https://www.cnblogs.com/zonehoo/p/8318302.html