数据导入更新字段修改

master
zcstatham 2 years ago
parent a163a7d39d
commit eff45f105d
  1. 2
      extend/service/CarInfoHandle.php

@ -548,7 +548,7 @@ class CarInfoHandle
$highestRow = $worksheet->getHighestRow(); // e.g. 10
echo '总计:' . $highestRow . PHP_EOL;
$now = date('Y-m-d H:i:s');
$update_keys = ['register_date', 'car_no', 'car_frame_no', 'engine_no', 'factory_model', 'car_year', 'displacement', 'car_man', 'car_number', 'purchase_price', 'id_man', 'id_number', 'insured_man', 'insured_number', 'company', 'insurer1_date', 'insurer2_date'];
$update_keys = ['register_date', 'car_no', 'car_frame_no', 'engine_no', 'factory_model', 'car_man', 'car_number', 'purchase_price', 'id_man', 'id_number', 'insured_man', 'insured_number', 'company', 'insurer1_date', 'insurer2_date'];
$link_phone_keys = [
'car_phone' => 'car_man',
'id_phone' => 'id_man',

Loading…
Cancel
Save