From 91b70d5ad2ada85cf00b25f7b9ecd9cf980bf138 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期一, 12 八月 2024 16:42:44 +0800 Subject: [PATCH] 优化:websocket接收消息 --- 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 e794039..5371232 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -390,4 +390,12 @@ ) select rsd.dept_id from rsd) </select> + <select id="selectUsersByIds" parameterType="list" resultType="SysUser"> + SELECT * FROM sys_user + WHERE user_id IN + <foreach collection="userIds" item="userId" open="(" close=")" separator=","> + #{userId} + </foreach> + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.3