原先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;
原文地址:https://www.cnblogs.com/zonehoo/p/8318302.html
时间: 2024-11-15 01:35:56
原先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;
原文地址:https://www.cnblogs.com/zonehoo/p/8318302.html