‘linchangsheng’ 3 weeks ago
parent
commit
094bb9312a

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

@@ -376,7 +376,7 @@ public class AdminUserLogic {
         // 根据商家id集合查找有关联的账号
         final List<AdminUserPermissionsRela> adminUserPermissionsRelaList = adminUserPermissionsRelaService.lambdaQuery()
                 .select(AdminUserPermissionsRela::getAdminUserId)
-                .eq(AdminUserPermissionsRela::getAdminUserPermissionsId, websitIdList)
+                .in(AdminUserPermissionsRela::getAdminUserPermissionsId, websitIdList)
                 .groupBy(AdminUserPermissionsRela::getAdminUserId)
                 .list();