‘linchangsheng’ 3 周之前
父节点
当前提交
cda214f783
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/main/java/com/gree/mall/manager/logic/admin/AdminDeptLogic.java

+ 0 - 5
src/main/java/com/gree/mall/manager/logic/admin/AdminDeptLogic.java

@@ -57,11 +57,6 @@ public class AdminDeptLogic {
                     .list();
                     .list();
 
 
 
 
-        if (adminUser.getType().equals(0)) {
-            list.addAll(adminDeptService.lambdaQuery()
-                    .eq(AdminDept::getAdminDeptId, "1").list());
-        }
-
         List<AdminDeptTree> trees = new ArrayList<>();
         List<AdminDeptTree> trees = new ArrayList<>();
         for (AdminDept adminDept : list) {
         for (AdminDept adminDept : list) {
             AdminDeptTree adminDeptTree = new AdminDeptTree();
             AdminDeptTree adminDeptTree = new AdminDeptTree();