关于SpringbootJPA分页 PageRequest过期的办法

http://www.cnblogs.com/igong/p/9817037.htmlhtml

 

Pageable pageable = PageRequest.of(0, 10);
List<Map<String, String>> lineSearchList = searchStatisticsDao.lineSearchStatistics(pageable);
@Query("select CONCAT(s.originName, '-', s.destinationName) as name, count(s) as count from SearchStatistics s group by s.description")
List<Map<String, String>> lineSearchStatistics(Pageable pageable);
相关文章
相关标签/搜索