From 54a57f52163b554b4b912195e6b33eb3c1a64423 Mon Sep 17 00:00:00 2001 From: Gitea Date: Mon, 11 Nov 2024 11:06:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E6=96=B0=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/InnovationVoucherController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/innovationvoucher/controller/InnovationVoucherController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/innovationvoucher/controller/InnovationVoucherController.java index 44cc397..d52cd13 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/innovationvoucher/controller/InnovationVoucherController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/innovationvoucher/controller/InnovationVoucherController.java @@ -94,6 +94,7 @@ public class InnovationVoucherController extends JeecgController queryWrapper = QueryGenerator.initQueryWrapper(innovationVoucher, req.getParameterMap()); queryWrapper.eq("state","3"); + queryWrapper.orderByDesc("create_time"); Page page = new Page(pageNo, pageSize); IPage pageList = innovationVoucherService.page(page, queryWrapper); return Result.OK(pageList);