From ffbddedac17c4a7d18d382c4917b3f375356e061 Mon Sep 17 00:00:00 2001 From: shiyunteng <shiyunteng@example.com> Date: 星期二, 01 四月 2025 10:23:47 +0800 Subject: [PATCH] 整体流程测试修改0401-1 --- 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