From 410e73ecfe28f4794dfd3e48a3372bff1ba33c70 Mon Sep 17 00:00:00 2001 From: huangjiayang <5265313@qq.com> Date: 星期三, 14 五月 2025 11:18:31 +0800 Subject: [PATCH] 【UPDATE】修改系统管理相关基础功能模糊检索报错问题 --- aps-modules/aps-system/src/main/resources/mapper/system/SysConfigMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aps-modules/aps-system/src/main/resources/mapper/system/SysConfigMapper.xml b/aps-modules/aps-system/src/main/resources/mapper/system/SysConfigMapper.xml index 4825725..2baf673 100644 --- a/aps-modules/aps-system/src/main/resources/mapper/system/SysConfigMapper.xml +++ b/aps-modules/aps-system/src/main/resources/mapper/system/SysConfigMapper.xml @@ -42,13 +42,13 @@ <include refid="selectConfigVo"/> <where> <if test="configName != null and configName != ''"> - AND config_name like concat('%', #{configName}, '%') + AND config_name like '%' || #{configName} || '%' </if> <if test="configType != null and configType != ''"> AND config_type = #{configType} </if> <if test="configKey != null and configKey != ''"> - AND config_key like concat('%', #{configKey}, '%') + AND config_key like '%' || #{configKey} || '%' </if> <if test="params.beginTime != null and params.beginTime != ''"><!-- 寮�濮嬫椂闂存绱� --> and date_format(create_time,'%Y%m%d') >= date_format(#{params.beginTime},'%Y%m%d') -- Gitblit v1.9.3