From aced80abcbd86127ffed90722e6d1a9454026841 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Thu, 7 May 2026 17:40:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E8=BD=A6=E7=89=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Imports/ParkingLicensePlateImport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Imports/ParkingLicensePlateImport.php b/app/Imports/ParkingLicensePlateImport.php index f50c97b..19723ce 100644 --- a/app/Imports/ParkingLicensePlateImport.php +++ b/app/Imports/ParkingLicensePlateImport.php @@ -37,7 +37,7 @@ class ParkingLicensePlateImport implements ToModel, WithHeadingRow if (!ParkingLicensePlate::query()->where($where) ->exists() ) { - $model = new ParkingLicensePlate([ + $model = ParkingLicensePlate::query()->create([ 'number' => $number, 'space_type_id' => $this->parkingSpaceType, 'created_at' => get_datetime()