From f891a163ab3ada61eb9c2c4cd59fed44ba955ae9 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 26 九月 2025 17:39:21 +0800
Subject: [PATCH] 新增Orgid

---
 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..125e8b6 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="userName != null and userName != ''">
+            AND u.orgid = #{orgid}
+        </if>
         <if test="nickName != null and nickName != ''">
             AND u.nick_name like concat('%', #{nickName}, '%')
         </if>

--
Gitblit v1.9.3