mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
Fixed the bug that it was impossible to get roles without permissions
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user