FengChaoYu vor 1 Woche
Ursprung
Commit
b8238a69c4

+ 1 - 4
mall-server-api/src/main/java/com/gree/mall/manager/logic/admin/AdminUserLogic.java

@@ -674,15 +674,12 @@ public class AdminUserLogic {
                 }
                 final List<AdminUserDeptRela> deptRelas = adminUserDeptRelaService.lambdaQuery()
                         .select(AdminUserDeptRela::getAdminUserId)
-                        .eq(AdminUserDeptRela::getAdminDeptId, deptIds)
+                        .in(AdminUserDeptRela::getAdminDeptId, deptIds)
                         .list();
                 // 部门相关的adminUserId添加到集合
                 websitUserIds.addAll(deptRelas.stream()
                         .map(AdminUserDeptRela::getAdminUserId)
                         .collect(Collectors.toSet()));
-                log.info("查询的部门: {}, 递归部门: {}, 查询到的账号id: {}", JSONUtil.toJsonStr(adminDeptList), JSONUtil.toJsonStr(deptIds), JSONUtil.toJsonStr(deptRelas.stream()
-                        .map(AdminUserDeptRela::getAdminUserId)
-                        .collect(Collectors.toSet())));
             }
         }