Просмотр исходного кода

修复无法修改菜单的问题

“zyj” 3 лет назад
Родитель
Сommit
2af430823b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml

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

@@ -133,7 +133,7 @@
 			<if test="orderNum != null">order_num = #{orderNum},</if>
 			<if test="path != null and path != ''">path = #{path},</if>
 			<if test="component != null">component = #{component},</if>
-			<if test="query != null">`query` = #{query},</if>
+			<if test="query != null">query = #{query},</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>
@@ -156,7 +156,7 @@
 		<if test="orderNum != null">order_num,</if>
 		<if test="path != null and path != ''">path,</if>
 		<if test="component != null and component != ''">component,</if>
-		<if test="query != null and query != ''">`query`,</if>
+		<if test="query != null and query != ''">query,</if>
 		<if test="isFrame != null and isFrame != ''">is_frame,</if>
 		<if test="isCache != null and isCache != ''">is_cache,</if>
 		<if test="menuType != null and menuType != ''">menu_type,</if>