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); }