From 3c901b2289729b8d13689a52faaffb3cd1124594 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期四, 27 三月 2025 13:25:08 +0800
Subject: [PATCH] 修改标准库查询bug

---
 ruoyi-system/src/main/resources/mapper/system/UserMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/UserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/UserMapper.xml
index f16af39..4a16c32 100644
--- a/ruoyi-system/src/main/resources/mapper/system/UserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/UserMapper.xml
@@ -25,7 +25,7 @@
         is_custom
         from user
         where del_flag = '0'
-        and id != ) a
+        and id != 1) a
         <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
             ${ew.customSqlSegment}
         </if>
@@ -88,7 +88,8 @@
         select id,
                account,
                name,
-               name_en
+               name_en,
+               status
         from user u
         where depart_lims_id = (select u2.depart_lims_id
                                 from user u2

--
Gitblit v1.9.3