From a3ff2caca929d75ddb4bff51244395215fdc47e7 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 14 八月 2025 11:04:03 +0800
Subject: [PATCH] SSO代码提交

---
 ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml |    3 +++
 1 files changed, 3 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 5993a75..867caed 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -235,6 +235,9 @@
             <if test="orgid != null and orgid != ''">
                 AND u.orgid = #{orgid}
             </if>
+            <if test="deptId != null and deptId != ''">
+                AND u.dept_id = #{deptId}
+            </if>
         </where>
     </select>
 

--
Gitblit v1.9.3