From 14c05113b72698a331259ce7c34c7ae8dd69ffd7 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期五, 09 一月 2026 14:34:03 +0800
Subject: [PATCH] 【市一】问题统计接口调整

---
 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 b61d615..3b5a68e 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -306,6 +306,9 @@
             <if test="userName != null and userName != ''">
                 AND u.user_name = #{userName}
             </if>
+            <if test="orgid != null and orgid != ''">
+                AND u.orgid = #{orgid}
+            </if>
             <if test="deptId != null and deptId != ''">
                 AND u.dept_id = #{deptId}
             </if>

--
Gitblit v1.9.3