1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 15:01:23 +08:00

Fixed the bug that it was impossible to get roles without permissions

This commit is contained in:
2023-05-15 09:09:16 +08:00
parent 90b108dd00
commit 75542c5be1

View File

@@ -28,7 +28,7 @@
left join t_menu tm on tp.id = tm.power_id left join t_menu tm on tp.id = tm.power_id
left join t_element te on tp.id = te.power_id left join t_element te on tp.id = te.power_id
left join t_operation t on tp.id = t.power_id left join t_operation t on tp.id = t.power_id
where t_role.deleted = 0 and tpr.deleted = 0; where t_role.deleted = 0 and (tpr.deleted = 0 or tpr.deleted is null);
</select> </select>
<select id="getOneById" resultMap="roleMap"> <select id="getOneById" resultMap="roleMap">
select t_role.id as role_id, select t_role.id as role_id,