1
This commit is contained in:
@@ -99,6 +99,7 @@ public class UserNoticeServiceImpl extends BaseServiceImpl<UserNoticeMapper, Use
|
|||||||
List<Long> userIdList = userService.list(
|
List<Long> userIdList = userService.list(
|
||||||
Wrappers.lambdaQuery(User.class)
|
Wrappers.lambdaQuery(User.class)
|
||||||
.eq(User::getUserType, 2)
|
.eq(User::getUserType, 2)
|
||||||
|
.orderByAsc(User::getId)
|
||||||
.last("limit " + PAGE_SIZE + " offset " + i * PAGE_SIZE)
|
.last("limit " + PAGE_SIZE + " offset " + i * PAGE_SIZE)
|
||||||
).stream().map(User::getId).toList();
|
).stream().map(User::getId).toList();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user