From 8bc0375991b4d5fed7fb8dfcb3e85296056f6ed5 Mon Sep 17 00:00:00 2001 From: wuchunlei Date: Thu, 21 Aug 2025 13:23:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E8=AF=81=E4=B9=A6=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/common/controller/UserCertificateController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/peanut/modules/common/controller/UserCertificateController.java b/src/main/java/com/peanut/modules/common/controller/UserCertificateController.java index 58003da7..483d5808 100644 --- a/src/main/java/com/peanut/modules/common/controller/UserCertificateController.java +++ b/src/main/java/com/peanut/modules/common/controller/UserCertificateController.java @@ -91,6 +91,7 @@ public class UserCertificateController { if (StringUtils.isNotBlank(params.get("certificateNo").toString())){ wrapper.like(UserCertificate::getCertificateNo,params.get("certificateNo")); } + wrapper.orderByDesc(UserCertificate::getCreateTime); Page page = userCertificateService.page(new Page<>( Long.parseLong(params.get("current").toString()), Long.parseLong(params.get("limit").toString())),wrapper); return R.ok().put("certificate",page);