From 73f48531b40f1d9febf7ca8cd6dc971e055fa853 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期四, 25 七月 2024 11:17:47 +0800 Subject: [PATCH] 优化websocke接收消息tbug --- ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml | 8 ++++++++ 1 files changed, 8 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 a014700..913ec65 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -371,4 +371,12 @@ and su.status = '0' and su.del_flag = '0' order by su.dept_id asc </select> + + <select id="selectUserByDeptIdList" resultMap="SysUserOnlyResult"> + select * from sys_user su where su.dept_id in + <foreach collection="deptIdList" item="deptId" open="(" close=")" separator=","> + #{deptId} + </foreach> + and su.status = '0' + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3