List<GsOrder> list = newlist.stream().skip((gsOrder.getPage()-1)*gsOrder.getPageSize()).limit(gsOrder.getPageSize()).
collect(Collectors.toList());
java list手动分页
最新推荐文章于 2024-03-08 06:00:00 发布
List<GsOrder> list = newlist.stream().skip((gsOrder.getPage()-1)*gsOrder.getPageSize()).limit(gsOrder.getPageSize()).
collect(Collectors.toList());