From 8c4d98de40cf4c327ee82d6520b07cd03ba1c5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E4=B8=89=E7=82=AE?= <15856818120@163.com> Date: Wed, 4 Jun 2025 14:20:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9A=8F=E6=89=8B=E6=8B=8D?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=A7=93=E5=90=8D=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/system/SnapshotMapper.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bonus-modules/bonus-project/src/main/resources/mapper/system/SnapshotMapper.xml b/bonus-modules/bonus-project/src/main/resources/mapper/system/SnapshotMapper.xml index 0013b03..a33975a 100644 --- a/bonus-modules/bonus-project/src/main/resources/mapper/system/SnapshotMapper.xml +++ b/bonus-modules/bonus-project/src/main/resources/mapper/system/SnapshotMapper.xml @@ -86,7 +86,7 @@ SELECT ss.create_user_id as snapshotId, ss.phone as phone, - ss.create_user_name as userName, + su.nick_name as userName, ss.dept_name as deptName, ss.post_name as postName, count(1) as num, @@ -102,6 +102,7 @@ from sys_role sr LEFT JOIN sys_user_role sur ON sur.role_id = sr.role_id group by sur.user_id)r on r.user_id = ss.create_user_id + LEFT JOIN sys_user su on su.user_id = ss.create_user_id WHERE ss.is_active = '1' and ss.phone like concat('%', #{phone}, '%') @@ -133,4 +134,4 @@ and st_id = #{snapshotId} - \ No newline at end of file +