List类型的集合转换为Page类型的方法
List<Pipeline> subList = newPipelineList.subList(fromIndex, toIndex); Pageable pageable = new PageRequest(page, size); Page<Pipeline> pipelinePage = new PageImpl<>(subList, ...