List<CheckLaborCostRes> checkLaborCostResPageList = checkLaborCostResList.stream() .sorted(Comparator.comparing(CheckLaborCostRes::getUpdateTime).reversed()) .skip((long) (req.getPage() - 1) * req.getPageSize()) .limit(req.getPageSize()) .collect(Collectors.toList());
lambda分页
最新推荐文章于 2023-11-10 09:06:12 发布