Browse Source

1.修改入库列表的排序方式

dev
pref_mail@163.com 1 month ago
parent
commit
05b18010fb
  1. 2
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/controller/WarehouseWarehousingEntryController.java

2
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<WarehouseWarehousingEntryEntity> pages = warehouseWarehousingEntryService.page(Condition.getPage(query), queryWrapper);
return R.data(pages);
}

Loading…
Cancel
Save