From c8c57b545aecc4692d00ced16325363faaa86fbe Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期二, 22 二月 2022 19:10:34 +0800 Subject: [PATCH] 优化菜单关键字导致的插件报错问题 --- ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml index fd5f6a3..81e7b70 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml @@ -133,7 +133,7 @@ <if test="orderNum != null and orderNum != ''">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},</if> <if test="isCache != null and isCache != ''">is_cache = #{isCache},</if> <if test="menuType != null and menuType != ''">menu_type = #{menuType},</if> @@ -156,7 +156,7 @@ <if test="orderNum != null and orderNum != ''">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> -- Gitblit v1.9.2