From ee29556679d92bdc1aa0d5951e4931d342c29c3f Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期四, 10 八月 2023 12:51:18 +0800
Subject: [PATCH] 优化首次用户登录获取不到融云token的bug

---
 ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
index dadfb99..49f1b86 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -291,4 +291,8 @@
         inner join sys_dept sd on asy.dept_id = sd.dept_id
         where asy.car_id = #{carId})
     </select>
+
+    <select id="userByPlanId" parameterType="String" resultMap="SysUserResult">
+        select user_id,nick_name from sys_user where user_id in (select app_user_id from ard_app_patroluser where patrolplan_id = #{id})
+    </select>
 </mapper> 
\ No newline at end of file

--
Gitblit v1.9.3