From a273df0334713f56882637cf1c0dba632e6f8e17 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 10 Sep 2021 15:13:24 +0800
Subject: [PATCH] 部门类别去除

---
 src/main/java/org/springblade/modules/system/mapper/UserMapper.xml |    4 ----
 1 files changed, 0 insertions(+), 4 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 aaa09c0..7fd9939 100644
--- a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
+++ b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -219,7 +219,6 @@
         br.id = bu.role_id
         where
         bu.is_deleted = 0
-        and bd.dept_category = 1
         and role_alias = '保安'
         <if test="user.realName!=null and user.realName != ''">
             and bu.real_name like concat(concat('%', #{user.realName}),'%')
@@ -268,8 +267,6 @@
         bu.dept_id = bd.id
         where
         bu.is_deleted = 0
-        and
-        bd.dept_category = 1
         and
         (hold = 2 or hold = 3)
         <if test="user.deptId!=null and user.deptId != ''">
@@ -324,7 +321,6 @@
             bu.is_deleted = 0
             and bu.status = 1
             and bu.examination_type != 1
-            and bd.dept_category = 1
             and (hold = 2 or hold = 3)
             and bd.id = #{user.deptId}
             <if test="user.examType==1">

--
Gitblit v1.9.3