Browse Source

提交角色禁用后可正常进入系统

pull/22/head
wangchl 6 years ago
parent
commit
afea140046
  1. 3
      src/main/resources/mybatis/system/MenuMapper.xml

3
src/main/resources/mybatis/system/MenuMapper.xml

@ -103,8 +103,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
update_time = sysdate() update_time = sysdate()
</set> </set>
where 1=1 where menu_id = #{menuId}
<if test="menuId != null and menuId != ''">and menu_id = #{menuId}</if>
</update> </update>
<insert id="insertMenu" parameterType="Menu"> <insert id="insertMenu" parameterType="Menu">

Loading…
Cancel
Save