Explorar o código

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

wangchl %!s(int64=6) %!d(string=hai) anos
pai
achega
afea140046
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/main/resources/mybatis/system/MenuMapper.xml

+ 1 - 2
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>
  			update_time = sysdate()
  		</set>
- 		where 1=1
- 		<if test="menuId != null and menuId  != ''">and menu_id = #{menuId}</if>
+ 		where menu_id = #{menuId}
 	</update>
  	
  	<insert id="insertMenu" parameterType="Menu">