From c0d430f4e5adf08129c2610d9d2b5446bb19c0d6 Mon Sep 17 00:00:00 2001 From: XCSDN <gitee@xcsdn.net> Date: 星期四, 07 四月 2022 12:57:56 +0800 Subject: [PATCH] update ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysDictType.java. 字典类型必须以字母开头,且字典类型只能由小写字母或加下划线还有数字组成 防止由于字典类型不符合前端开发规范而报错 --- 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