Răsfoiți Sursa

修复修改菜单出错的bug

zyj 1 an în urmă
părinte
comite
63f7b13916

+ 2 - 2
ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml

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