提交修改
This commit is contained in:
parent
7a58454f58
commit
825be642d9
@ -91,7 +91,7 @@
|
||||
|
||||
|
||||
<update id="deleteStaffRoleById" parameterType="java.lang.Long">
|
||||
update lz_staff_role set is_delete = 1 where id=#{id} limit 1
|
||||
delete from lz_staff_role where id=#{id} limit 1
|
||||
</update>
|
||||
|
||||
|
||||
@ -165,9 +165,9 @@
|
||||
|
||||
|
||||
<select id="selectAllMenus" resultType="com.lz.modules.flow.entity.StaffMenu">
|
||||
select * from lz_staff_menu where id in (
|
||||
select * from lz_staff_menu where id in (
|
||||
select menu_id from lz_staff_role_menu where role_id in (
|
||||
select id from lz_staff_role where staff_id = #{userId}))
|
||||
select id from lz_staff_role where staff_id = #{userId} and is_delete=0) and is_delete = 0 ) and is_delete = 0
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user