FengChaoYu il y a 3 semaines
Parent
commit
e3fbf52120

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

@@ -337,6 +337,7 @@ public class AdminUserLogic {
     private void queryCanSeeAdminUser(Set<String> adminUserIdList, AdminUserCom adminUser) {
         final List<AdminUserPermissionsRela> permissionsRelaList = adminUserPermissionsRelaService.lambdaQuery()
                 .eq(AdminUserPermissionsRela::getAdminUserId, adminUser.getAdminUserId())
+                .eq(AdminUserPermissionsRela::getIsDept, false)
                 .list();
 
         // 商家id集合