Procházet zdrojové kódy

优化菜单关键字导致的插件报错问题

RuoYi před 4 roky
rodič
revize
9460acd91b

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

@@ -133,7 +133,7 @@
133 133
 			<if test="orderNum != null and orderNum != ''">order_num = #{orderNum},</if>
134 134
 			<if test="path != null and path != ''">path = #{path},</if>
135 135
 			<if test="component != null">component = #{component},</if>
136
-			<if test="query != null">query = #{query},</if>
136
+			<if test="query != null">`query` = #{query},</if>
137 137
 			<if test="isFrame != null and isFrame != ''">is_frame = #{isFrame},</if>
138 138
 			<if test="isCache != null and isCache != ''">is_cache = #{isCache},</if>
139 139
 			<if test="menuType != null and menuType != ''">menu_type = #{menuType},</if>
@@ -156,7 +156,7 @@
156 156
 		<if test="orderNum != null and orderNum != ''">order_num,</if>
157 157
 		<if test="path != null and path != ''">path,</if>
158 158
 		<if test="component != null and component != ''">component,</if>
159
-		<if test="query != null and query != ''">query,</if>
159
+		<if test="query != null and query != ''">`query`,</if>
160 160
 		<if test="isFrame != null and isFrame != ''">is_frame,</if>
161 161
 		<if test="isCache != null and isCache != ''">is_cache,</if>
162 162
 		<if test="menuType != null and menuType != ''">menu_type,</if>