From f464a58aa5e50a43d7dc03a8d3b4cd7e576d7b12 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 14 十一月 2023 15:54:20 +0800 Subject: [PATCH] 11.14学生列表搜索条件改为真实名字 --- src/main/resources/mapper/UserMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/UserMapper.xml b/src/main/resources/mapper/UserMapper.xml index a785fac..2579dda 100644 --- a/src/main/resources/mapper/UserMapper.xml +++ b/src/main/resources/mapper/UserMapper.xml @@ -331,7 +331,7 @@ <where> and deleted=0 <if test="userName != null and userName != ''"> - and user_name like concat('%',#{userName},'%') + and real_name like concat('%',#{userName},'%') </if> <if test="role != null "> and role= #{role} -- Gitblit v1.8.0