Jelajahi Sumber

菜单状态查询优化

RuoYi 6 tahun lalu
induk
melakukan
b7c95affc8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/main/resources/mybatis/system/MenuMapper.xml

+ 1 - 1
src/main/resources/mybatis/system/MenuMapper.xml

@@ -58,7 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 			<if test="menuName != null and menuName != ''">
 				AND menu_name like concat('%', #{menuName}, '%')
 			</if>
-			<if test="visible != null and visible != ''">
+			<if test="visible != null">
 				AND visible = #{visible}
 			</if>
 		</where>