feat:auth服务 用户鉴权相关
This commit is contained in:
@@ -181,11 +181,11 @@
|
||||
where id = #{id}
|
||||
</select>
|
||||
<select id="loadAllPermission" resultType="com.xiang.xservice.auth.api.dto.resp.PermissionRoleDTO">
|
||||
select p.api_path api_url, p.method, r.code as role_code
|
||||
from x_permission p
|
||||
join x_role_permission rp on p.id = rp.permission_id
|
||||
join x_role r on rp.role_id = r.id
|
||||
where p.del_flag = 0 and r.del_flag = 0 and r.status = 1
|
||||
-- select p.api_path api_url, p.method, r.code as role_code
|
||||
-- from x_permission p
|
||||
-- join x_role_permission rp on p.id = rp.permission_id
|
||||
-- join x_role r on rp.role_id = r.id
|
||||
-- where p.del_flag = 0 and r.del_flag = 0 and r.status = 1
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user