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/SysDeptMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/aps-modules/aps-system/src/main/resources/mapper/system/SysDeptMapper.xml b/aps-modules/aps-system/src/main/resources/mapper/system/SysDeptMapper.xml index cb98780..76e6110 100644 --- a/aps-modules/aps-system/src/main/resources/mapper/system/SysDeptMapper.xml +++ b/aps-modules/aps-system/src/main/resources/mapper/system/SysDeptMapper.xml @@ -40,7 +40,7 @@ AND parent_id = #{parentId} </if> <if test="deptName != null and deptName != ''"> - AND dept_name like concat('%', #{deptName}, '%') + AND dept_name like '%' || #{deptName} '%' </if> <if test="status != null and status != ''"> AND status = #{status} -- Gitblit v1.9.3