sql 调整
All checks were successful
local-test分支构建docker并发布运行 / Docker-Build (push) Successful in 1m23s
All checks were successful
local-test分支构建docker并发布运行 / Docker-Build (push) Successful in 1m23s
This commit is contained in:
parent
6fff56eddc
commit
f4145b43de
@ -13,9 +13,10 @@
|
|||||||
, name
|
, name
|
||||||
</sql>
|
</sql>
|
||||||
<select id="queryRole" resultType="club.joylink.xiannccda.dto.auth.AuthRoleDTO">
|
<select id="queryRole" resultType="club.joylink.xiannccda.dto.auth.AuthRoleDTO">
|
||||||
select a.id, A.name, B.api_ids
|
select A.id, A.name, B.api_ids
|
||||||
from auth_role A
|
from auth_role A
|
||||||
left join (select role_id, group_concat(api_id) as api_ids from auth_role_api_ref GROUP BY role_id) B
|
left join (select role_id, group_concat(api_id) as api_ids from auth_role_api_ref GROUP BY role_id) B
|
||||||
on A.id = B.role_id
|
on A.id = B.role_id
|
||||||
|
where 1 = 1
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
Loading…
Reference in New Issue
Block a user