0
我在我的应用程序中使用分页。 这是我的代码:春季数据 - 分页 - 获取项目的页码
final Pageable pageable = new PageRequest(page, this.getHistoryPageSize(), new Sort(Sort.Direction.ASC, "date"));
final List<History> pagedHistory = historyRepository.findPagedHistoryByTenantAndDateBetween(tenant, start, end, pageable);
我现在的问题是,如果有可能获得一个项目的页号,以便我可以显示此页。