This commit is contained in:
2026-02-09 19:46:16 +08:00
parent 85a1032c55
commit b31ed69e15

View File

@@ -99,6 +99,7 @@ public class UserNoticeServiceImpl extends BaseServiceImpl<UserNoticeMapper, Use
List<Long> userIdList = userService.list(
Wrappers.lambdaQuery(User.class)
.eq(User::getUserType, 2)
.orderByAsc(User::getId)
.last("limit " + PAGE_SIZE + " offset " + i * PAGE_SIZE)
).stream().map(User::getId).toList();