Permissions

This commit is contained in:
MaxKey
2022-01-25 15:12:09 +08:00
parent 02fcbc870c
commit 1cefe10f38
2 changed files with 9 additions and 8 deletions
@@ -78,10 +78,9 @@
<update id="logisticDeleteRolePermissions" parameterType="java.util.List">
update mxk_role_permissions
set status=9
where instid = #{instId}
and id in
<foreach item="item" collection="list" open="(" separator="," close=")">
#{item.id}
where 1 = 1 and
<foreach item="item" collection="list" open="(" separator="or" close=")">
( id = #{item.id} and instid = #{item.instId} )
</foreach>
</update>