From c4f9c032d2a4fcd57d59846bc208d7d225ba5aa8 Mon Sep 17 00:00:00 2001 From: zhs <zhs18203887318@163.com> Date: 星期六, 16 八月 2025 15:28:48 +0800 Subject: [PATCH] 0816 zhs --- 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