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

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

diff --git a/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml b/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml
index 125e8b6..1085485 100644
--- a/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SysUserMapper.xml
@@ -127,7 +127,7 @@
         <if test="userName != null and userName != ''">
             AND u.user_name = #{userName}
         </if>
-          <if test="userName != null and userName != ''">
+          <if test="orgid != null and orgid != ''">
             AND u.orgid = #{orgid}
         </if>
         <if test="nickName != null and nickName != ''">

--
Gitblit v1.9.3