Browse Source

车牌导入,VIP车牌导入、白名单车牌导入车牌验证2

master
wanghongjun 2 weeks ago
parent
commit
07dd46968e
  1. 1
      app/Imports/ParkingLicensePlateImport.php
  2. 1
      app/Imports/ParkingVipListImport.php
  3. 1
      app/Imports/ParkingWhitelistImport.php

1
app/Imports/ParkingLicensePlateImport.php

@ -48,6 +48,7 @@ class ParkingLicensePlateImport implements ToModel
);
if ($error_str) {
$this->error[] = $error_str;
return;
}
$where = [
'number' => $number,

1
app/Imports/ParkingVipListImport.php

@ -47,6 +47,7 @@ class ParkingVipListImport implements ToModel
);
if ($error_str) {
$this->error[] = $error_str;
return;
}
$license_id = $licensePlateService->createLicenseId($license);
if (!$license_id) {

1
app/Imports/ParkingWhitelistImport.php

@ -45,6 +45,7 @@ class ParkingWhitelistImport implements ToModel, WithChunkReading
);
if ($error_str) {
$this->error[] = $error_str;
return;
}
$parking_name = $row[2] ?? '';
if (empty($parking_name)) {

Loading…
Cancel
Save