From 3d453a41ccd7c69a40bd9bfa31f8c5b159513b6b Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 10 十月 2025 16:09:00 +0800
Subject: [PATCH] 修改BUG

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

diff --git a/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml b/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml
index 2e6237e..1085485 100644
--- a/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml
@@ -127,6 +127,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="nickName != null and nickName != ''">
             AND u.nick_name like concat('%', #{nickName}, '%')
         </if>

--
Gitblit v1.9.3