Browse Source

deptTree不进行admin过滤

test
smallchill 5 years ago
parent
commit
8124e99104
  1. 3
      blade-service/blade-system/src/main/java/org/springblade/system/service/impl/DeptServiceImpl.java

3
blade-service/blade-system/src/main/java/org/springblade/system/service/impl/DeptServiceImpl.java

@ -60,9 +60,6 @@ public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements ID
@Override @Override
public List<DeptVO> tree(String tenantId) { public List<DeptVO> tree(String tenantId) {
if (AuthUtil.isAdministrator()) {
tenantId = StringPool.EMPTY;
}
return ForestNodeMerger.merge(baseMapper.tree(tenantId)); return ForestNodeMerger.merge(baseMapper.tree(tenantId));
} }

Loading…
Cancel
Save