From 6fa333ff80fb5e10b01f48e7717c72c01fbada04 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Mon, 10 Nov 2025 15:05:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dsort=20=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DefaultReactiveAuthenticationInitializeService.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hsweb-system/hsweb-system-authorization/hsweb-system-authorization-default/src/main/java/org/hswebframework/web/system/authorization/defaults/service/DefaultReactiveAuthenticationInitializeService.java b/hsweb-system/hsweb-system-authorization/hsweb-system-authorization-default/src/main/java/org/hswebframework/web/system/authorization/defaults/service/DefaultReactiveAuthenticationInitializeService.java index f2b9b62c3..b5f96ac15 100644 --- a/hsweb-system/hsweb-system-authorization/hsweb-system-authorization-default/src/main/java/org/hswebframework/web/system/authorization/defaults/service/DefaultReactiveAuthenticationInitializeService.java +++ b/hsweb-system/hsweb-system-authorization/hsweb-system-authorization-default/src/main/java/org/hswebframework/web/system/authorization/defaults/service/DefaultReactiveAuthenticationInitializeService.java @@ -108,9 +108,10 @@ public class DefaultReactiveAuthenticationInitializeService && properties.isDimensionEnabled(dimension.getType().getId())) .groupBy(d -> d.getType().getId(), Dimension::getId) .flatMap(group -> - group.buffer(200) - .sort() - .concatMap(list -> findSettings(group.key(), list))); + group + .sort() + .buffer(200) + .concatMap(list -> findSettings(group.key(), list))); } protected Flux findSettings(String type, List target) {