FengChaoYu il y a 3 semaines
Parent
commit
f15aad6b05

+ 2 - 2
src/main/java/com/gree/mall/manager/logic/admin/AdminUserLogic.java

@@ -322,7 +322,7 @@ public class AdminUserLogic {
         Set<String> adminUserIdList = new HashSet<>();
         if (!adminUser.getUserName().equals("admin")) {
             // 非admin账号,筛选能看的账号
-            this.queryCanSeeAdminUser(adminUserIdList, adminUser);
+//            this.queryCanSeeAdminUser(adminUserIdList, adminUser);
         }
 
         IPage<AdminUser> page = adminUserService.lambdaQuery()
@@ -353,7 +353,7 @@ public class AdminUserLogic {
 
         List<String> queryAdminUserIdList = adminUserPermissionsRelaList.stream()
                 .map(AdminUserPermissionsRela::getAdminUserId)
-                .filter(v -> !v.equals(adminUser.getAdminUserId()))
+//                .filter(v -> !v.equals(adminUser.getAdminUserId()))
                 .collect(Collectors.toList());
 
         // 当前登录账号为商家需要排除商户、平台账号;当前登录账号为商户需要排除平台账号