Browse Source

车道管理导入优化

master
wanghongjun 3 days ago
parent
commit
4c368d730d
  1. 2
      app/Imports/ParkingWhitelistImport.php
  2. 2
      resources/lang/en/exports.php

2
app/Imports/ParkingWhitelistImport.php

@ -59,7 +59,7 @@ class ParkingWhitelistImport implements ToModel, WithChunkReading
if (empty($channelIds)) { if (empty($channelIds)) {
$channelIds = []; $channelIds = [];
foreach ($channel_arr as $channel) { foreach ($channel_arr as $channel) {
$channel_id = AdminTranslationService::getTypeId(5, $channel); $channel_id = AdminTranslationService::getTypeId(6, $channel);
if ($channel_id) { if ($channel_id) {
$channelIds[] = $channel_id; $channelIds[] = $channel_id;
} }

2
resources/lang/en/exports.php

@ -94,7 +94,7 @@ return [
'list' => 'White List Import Template', 'list' => 'White List Import Template',
'export_list' => 'Whitelist Vehicle List', 'export_list' => 'Whitelist Vehicle List',
'parking' => 'Parking Lot', 'parking' => 'Parking Lot',
'channel' => 'Traffic Lanes', 'channel' => 'Lane Name',
'reason' => 'Reason For Passage', 'reason' => 'Reason For Passage',
'member_type' => 'Identity Type' 'member_type' => 'Identity Type'
], ],

Loading…
Cancel
Save