From 95d5f03b4b4e1b8fd21950e075a99f57b5b836de Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Thu, 2 Jul 2026 15:56:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E4=BD=8D=E7=9B=B8=E6=9C=BA=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E4=BF=A1=E6=81=AF=E5=AF=BC=E5=87=BA3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Exports/ParkingVipListExport.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Exports/ParkingVipListExport.php b/app/Exports/ParkingVipListExport.php index 9ff0ade..f449c2e 100644 --- a/app/Exports/ParkingVipListExport.php +++ b/app/Exports/ParkingVipListExport.php @@ -15,7 +15,8 @@ class ParkingVipListExport implements FromArray, WithHeadings */ public function array(): array { - $list = ParkingVipList::all()->toArray(); + $list = ParkingVipList::query()->orderBy('id', 'desc')->select()->get() + ->toArray(); $data = []; $index = 1; foreach ($list as $item) {