mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
Added pagination to GroupManagement. Optimized get group list in UserManagement.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
from t_group
|
||||
left join (select * from t_role_group where deleted = 0) as trg on t_group.id = trg.group_id
|
||||
left join (select * from t_role where deleted = 0) as tr on tr.id = trg.role_id
|
||||
where t_group.deleted = 0;
|
||||
where t_group.deleted = 0
|
||||
</select>
|
||||
|
||||
<select id="getOneById" resultMap="groupMap">
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
left join t_element te on tp.id = te.power_id
|
||||
left join t_operation t on tp.id = t.power_id
|
||||
where t_role.deleted = 0
|
||||
and t_role.id = #{id};
|
||||
and t_role.id = #{id}
|
||||
</select>
|
||||
|
||||
<resultMap id="roleMap" type="role">
|
||||
|
||||
Reference in New Issue
Block a user