From 8124e9910415359dbf9b12436bcf39d3757bc2a2 Mon Sep 17 00:00:00 2001 From: smallchill Date: Sun, 12 Apr 2020 16:18:43 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20deptTree=E4=B8=8D=E8=BF=9B=E8=A1=8Cadmi?= =?UTF-8?q?n=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/springblade/system/service/impl/DeptServiceImpl.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/blade-service/blade-system/src/main/java/org/springblade/system/service/impl/DeptServiceImpl.java b/blade-service/blade-system/src/main/java/org/springblade/system/service/impl/DeptServiceImpl.java index bb3bf3e3..a7cf1c39 100644 --- a/blade-service/blade-system/src/main/java/org/springblade/system/service/impl/DeptServiceImpl.java +++ b/blade-service/blade-system/src/main/java/org/springblade/system/service/impl/DeptServiceImpl.java @@ -60,9 +60,6 @@ public class DeptServiceImpl extends ServiceImpl implements ID @Override public List tree(String tenantId) { - if (AuthUtil.isAdministrator()) { - tenantId = StringPool.EMPTY; - } return ForestNodeMerger.merge(baseMapper.tree(tenantId)); }