|
|
|
@ -11,13 +11,9 @@ use app\model\PeerPhoneT; |
|
|
|
|
use app\model\RepeatFrameT; |
|
|
|
|
use excel\Excel; |
|
|
|
|
use file\FileSystem; |
|
|
|
|
use PhpOffice\PhpSpreadsheet\IOFactory; |
|
|
|
|
use PhpOffice\PhpSpreadsheet\Spreadsheet; |
|
|
|
|
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; |
|
|
|
|
use PhpOffice\PhpSpreadsheet\Writer\Xlsx; |
|
|
|
|
use SpreadsheetReader; |
|
|
|
|
use think\facade\Db; |
|
|
|
|
use think\facade\Env; |
|
|
|
|
|
|
|
|
|
class CarInfoHandle |
|
|
|
|
{ |
|
|
|
@ -499,6 +495,7 @@ class CarInfoHandle |
|
|
|
|
'purchase_price' => $worksheet->getCellByColumnAndRow(10, $row)->getValue(), |
|
|
|
|
'insurer1_date' => $worksheet->getCellByColumnAndRow(11, $row)->getValue(), |
|
|
|
|
'insurer2_date' => $worksheet->getCellByColumnAndRow(12, $row)->getValue(), |
|
|
|
|
'source' => $id, |
|
|
|
|
'create_timestamp' => $now, |
|
|
|
|
'update_timestamp' => $now |
|
|
|
|
]; |
|
|
|
|