From cd538c205628f28839323b49b7f77f33196a601f Mon Sep 17 00:00:00 2001
From: zhangnaisong <2434969829@qq.com>
Date: 星期四, 11 七月 2024 15:50:42 +0800
Subject: [PATCH] 电磁锁操控加入判断速度为0提交

---
 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