From b4ac803e1554f70e556d94a1313d6944e5fc0e6f Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期二, 11 二月 2025 17:29:35 +0800 Subject: [PATCH] 去除非空返回错误 --- ltkj-system/src/main/resources/mapper/system/SysUserMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ltkj-system/src/main/resources/mapper/system/SysUserMapper.xml b/ltkj-system/src/main/resources/mapper/system/SysUserMapper.xml index a883c61..bf8d5d4 100644 --- a/ltkj-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/ltkj-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -95,6 +95,10 @@ <if test="nickName != null and nickName != ''"> AND u.nick_name like concat('%', #{nickName}, '%') </if> + + <if test="userName != null and userName != ''"> + AND u.user_name like concat('%', #{userName}, '%') + </if> <if test="status != null and status != ''"> AND u.status = #{status} </if> -- Gitblit v1.8.0