From 05b18010fb74af4247bb4105ee4a9b862cc43aef Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Wed, 18 Dec 2024 16:32:30 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=85=A5=E5=BA=93=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=9A=84=E6=8E=92=E5=BA=8F=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/WarehouseWarehousingEntryController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/controller/WarehouseWarehousingEntryController.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/controller/WarehouseWarehousingEntryController.java index 7e7fed206..1d4b4355b 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/controller/WarehouseWarehousingEntryController.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/controller/WarehouseWarehousingEntryController.java @@ -127,6 +127,8 @@ public class WarehouseWarehousingEntryController extends BladeController { if(receiptDateStart != null && receiptDateStartEnd != null){ queryWrapper.lambda().between(WarehouseWarehousingEntryEntity::getReceiptDate, receiptDateStart+" 00:00:00", receiptDateStartEnd+" 23:59:59"); } + queryWrapper.orderByDesc("id"); + IPage pages = warehouseWarehousingEntryService.page(Condition.getPage(query), queryWrapper); return R.data(pages); }