修改按名称查询报错的问题

This commit is contained in:
sh
2025-11-21 12:32:36 +08:00
parent e1c15b1610
commit 48ce78f331
13 changed files with 13 additions and 13 deletions

View File

@@ -37,7 +37,7 @@
<include refid="selectMenuVo"/>
<where>
<if test="menuName != null and menuName != ''">
AND menu_name like concat('%', #{menuName}, '%')
AND menu_name like concat('%', cast(#{menuName, jdbcType=VARCHAR} as varchar), '%')
</if>
<if test="visible != null and visible != ''">
AND visible = #{visible}