From 64ce9daf8855edebf8c77b40095a4ea597331cd9 Mon Sep 17 00:00:00 2001
From: zlyx <1242874891@qq.com>
Date: 星期二, 30 八月 2022 11:44:44 +0800
Subject: [PATCH] fix 修正 spring cache 获取在线用户失败问题, 回退为使用 redis 工具缓存 ;

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml
index 63a846d..5a55fcb 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml
@@ -10,8 +10,8 @@
     </resultMap>
     <select id="selectUserIdsByRoleId" resultType="Long">
         select u.user_id from sys_user u
-        inner join sys_user_role ur
-            on u.user_id = ur.user_id and ur.role_id = #{roleId}
+        inner join sys_user_role sur
+            on u.user_id = sur.user_id and sur.role_id = #{roleId}
     </select>
 
 </mapper>

--
Gitblit v1.9.3