From 62e0fe07238a4f510a8d6c6c439add7959a29a5e Mon Sep 17 00:00:00 2001 From: "yunpeng.ma" Date: Fri, 25 Sep 2020 16:23:41 +0800 Subject: [PATCH] =?utf8?q?=E6=8E=92=E5=BA=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../supwisdom/dlpay/system/service/impl/PointsServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payapi/src/main/java/com/supwisdom/dlpay/system/service/impl/PointsServiceImpl.java b/payapi/src/main/java/com/supwisdom/dlpay/system/service/impl/PointsServiceImpl.java index 01e2b125..2753084b 100644 --- a/payapi/src/main/java/com/supwisdom/dlpay/system/service/impl/PointsServiceImpl.java +++ b/payapi/src/main/java/com/supwisdom/dlpay/system/service/impl/PointsServiceImpl.java @@ -147,7 +147,7 @@ public class PointsServiceImpl implements PointsService { tPointsMain.setName(param.getName()); tPointsMain.setCardno(param.getIdno()); tPointsMain.setLevelname(tPersonLevel.getName()); - Pageable pageable = PageRequest.of(param.getPageNo() - 1, param.getPageSize()); + Pageable pageable = PageRequest.of(param.getPageNo() - 1, param.getPageSize(), Sort.by(Sort.Direction.DESC, "id")); // Page page = pointsDtlDao.findAllByUserid(tCard.getUserid(),pageable); -- 2.17.1