From 8c91afa9c1bbe5fae9d88cfd1e7243c376af69fe Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期一, 21 七月 2025 09:19:29 +0800
Subject: [PATCH] 修改

---
 multi-system/src/main/resources/mapper/system/SysUserMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/multi-system/src/main/resources/mapper/system/SysUserMapper.xml b/multi-system/src/main/resources/mapper/system/SysUserMapper.xml
index aaa9a40..de62190 100644
--- a/multi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -73,6 +73,9 @@
             <if test="userType != null">
                 AND u.user_type = #{userType}
             </if>
+            <if test="deptId != null">
+                AND d.dept_id = #{deptId}
+            </if>
             <if test="companyId != null ">
                 AND u.company_id = #{companyId}
             </if>

--
Gitblit v1.9.2