From dc0dc216eec524e67ce19f820d2501a3798fcfe0 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期五, 28 三月 2025 16:49:45 +0800 Subject: [PATCH] fix: 年度投资计划 --- platformx-device-biz/src/main/java/com/by4cloud/platformx/device/controller/DeviceLeasingLedgerController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/platformx-device-biz/src/main/java/com/by4cloud/platformx/device/controller/DeviceLeasingLedgerController.java b/platformx-device-biz/src/main/java/com/by4cloud/platformx/device/controller/DeviceLeasingLedgerController.java index 66c878a..8495ef1 100644 --- a/platformx-device-biz/src/main/java/com/by4cloud/platformx/device/controller/DeviceLeasingLedgerController.java +++ b/platformx-device-biz/src/main/java/com/by4cloud/platformx/device/controller/DeviceLeasingLedgerController.java @@ -54,7 +54,8 @@ LambdaQueryWrapper<DeviceLeasingLedger> wrapper = Wrappers.lambdaQuery(); wrapper.eq(StrUtil.isNotBlank(deviceLeasingLedger.getContractCode()),DeviceLeasingLedger::getContractCode,deviceLeasingLedger.getContractCode()); wrapper.eq(StrUtil.isNotBlank(deviceLeasingLedger.getLedgerCode()),DeviceLeasingLedger::getLedgerCode,deviceLeasingLedger.getLedgerCode()); - return R.ok(deviceLeasingLedgerService.page(page, wrapper)); + wrapper.orderByDesc(DeviceLeasingLedger::getCreateTime); + return R.ok(deviceLeasingLedgerService.page(page, wrapper)); } -- Gitblit v1.9.1