se-modules/se-system/src/main/resources/mapper/system/SysMenuMapper.xml
@@ -46,6 +46,9 @@ <if test="status != null and status != ''"> AND status = #{status} </if> <if test="mark != null and mark != ''"> and mark = #{mark} </if> </where> order by parent_id, order_num </select> @@ -67,9 +70,7 @@ left join sys_user_role ur on rm.role_id = ur.role_id left join sys_role ro on ur.role_id = ro.role_id <where> <if test="menuId != null"> ur.user_id = #{menuId} </if> ur.user_id = #{params.userId} <if test="menuName != null and menuName != ''"> AND m.menu_name like concat('%', #{menuName}, '%') </if>