From 72359f3c9e9fe855ecafafb769ed52fc2a7f7e61 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: 星期六, 10 八月 2024 09:46:02 +0800
Subject: [PATCH] 优化:视频通话会话列表和详情获取最后一条消息中增加用户名称和头像

---
 ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml b/ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml
index 67d8437..340c25a 100644
--- a/ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml
+++ b/ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml
@@ -57,7 +57,7 @@
         coalesce(asu.password,'') as password,
         coalesce(asu.reserved_1,'') as reserved1,
         coalesce(asu.reserved_2,'') as reserved2 from ard_sy_user asu
-        right join sys_user su on asu.sys_user_id = su.user_id
+        inner join sys_user su on asu.sys_user_id = su.user_id
         <where>
             <if test="sysUserId != null  and sysUserId != ''"> and sys_user_id = #{sysUserId}</if>
             <if test="userId != null  and userId != ''"> and asu.user_id = #{userId}</if>

--
Gitblit v1.9.3