修复修改菜单出错的bug

This commit is contained in:
zyj 2024-07-01 14:52:18 +08:00
parent 8f1051d8c6
commit 63f7b13916

View File

@ -143,8 +143,8 @@
<if test="component != null">component = #{component},</if> <if test="component != null">component = #{component},</if>
<if test="query != null">query = #{query},</if> <if test="query != null">query = #{query},</if>
<if test="routeName != null">route_name = #{routeName},</if> <if test="routeName != null">route_name = #{routeName},</if>
<if test="isFrame != null and isFrame != ''">is_frame = #{isFrame},</if> <if test="isFrame != null and isFrame != ''">is_frame = #{isFrame}::integer,</if>
<if test="isCache != null and isCache != ''">is_cache = #{isCache},</if> <if test="isCache != null and isCache != ''">is_cache = #{isCache}::integer,</if>
<if test="menuType != null and menuType != ''">menu_type = #{menuType},</if> <if test="menuType != null and menuType != ''">menu_type = #{menuType},</if>
<if test="visible != null">visible = #{visible},</if> <if test="visible != null">visible = #{visible},</if>
<if test="status != null">status = #{status}::integer,</if> <if test="status != null">status = #{status}::integer,</if>