Commit 9adf4287 by guojuxing

删除操作项、权限项关联数据sql修复

parent 3d256e84
......@@ -122,10 +122,11 @@
</insert>
<update id="deleteByMenuId">
update tab_sys_menu_item set status = 0
where status = 1
and menu_id = #{menuId}
<if test="menuId != null">
update tab_sys_menu_item set status = 0
where status = 1
and menu_id = #{menuId}
</if>
</update>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment