Commit 77c224f8 by guojuxing

列表查询角色sql修复

parent 45941978
......@@ -108,7 +108,7 @@
select
a.role_id roleId,
a.role_name roleName,
(select count(b.user_id) from tab_sys_user_role b where a.role_id = b.role_id and b.status = 1 group b.user_id) authUserCount
(select count(b.user_id) from tab_sys_user_role b where a.role_id = b.role_id and b.status = 1 group by b.user_id) authUserCount
from tab_sys_role a
where a.status = 1
and a.enterprise_id = #{enterpriseId}
......
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