From e0944874ca78c989787ce40e97dd5ef5d56f1169 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Fri, 03 Dec 2021 08:43:04 +0800
Subject: [PATCH] 1.首页押运人员
---
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 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 1c06f2e..85a88ef 100644
--- a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
+++ b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -257,7 +257,7 @@
<if test="user.securitynumber!=null and user.securitynumber != ''">
and bu.securitynumber like concat('%', #{user.securitynumber},'%')
</if>
- <if test="user.deptId!=null and user.deptId!=''">
+ <if test="user.deptId!=null and user.deptId!='' and user.deptId!='1460129345988239362'">
and bu.dept_id =#{user.deptId}
</if>
<if test="user.type!=null">
@@ -378,7 +378,7 @@
and bd.parent_id!=1425365577303621633
and bd.id != 1425365577303621633
and bd.id != 1432625856013971457
- <if test="user.deptId!=null and user.deptId!=''">
+ <if test="user.deptId!=null and user.deptId!='' and user.deptId!='1460129345988239362'">
and bd.id in
(
select id from blade_dept where id = #{user.deptId}
--
Gitblit v1.9.3