From cfbba3e94514bd2b9336972ae0ee8b7af3abf5a9 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Thu, 23 Sep 2021 10:23:27 +0800
Subject: [PATCH] 1.附件

---
 src/main/java/org/springblade/modules/system/mapper/UserMapper.xml |   14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diff --git a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
index 82fd6db..53dcc37 100644
--- a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
+++ b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -47,6 +47,7 @@
         <result column="birthtime" property="birthtime"/>
         <result column="healstats" property="healstats"/>
         <result column="soil" property="soil"/>
+        <result column="reason_for_leav" property="reasonForLeav"/>
     </resultMap>
 
     <!--带坐标-->
@@ -156,19 +157,6 @@
         </if>
         <if test="user.examinationType!=null and user.examinationType != ''">
             and examination_type = #{user.examinationType}
-        </if>
-        <if test="deptIdList!=null and deptIdList.size>0">
-            and id in (
-            SELECT
-            user_id
-            FROM
-            blade_user_dept
-            WHERE
-            dept_id IN
-            <foreach collection="deptIdList" index="index" item="item" open="(" separator="," close=")">
-                #{item}
-            </foreach>
-            )
         </if>
         ORDER BY id
     </select>

--
Gitblit v1.9.3