Explorar el Código

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

wangchl hace 6 años
padre
commit
afea140046
Se han modificado 1 ficheros con 1 adiciones y 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">