|
|
|
@ -446,7 +446,9 @@ class CarInfoHandle |
|
|
|
|
} |
|
|
|
|
$export_id = 0; |
|
|
|
|
if($data['queue'] != '') |
|
|
|
|
$export_id = JobsT::where('payload','like','%'. str_replace(['\\','"'],['_',''],json_encode($data['queue'])) .'%')->value('id'); |
|
|
|
|
$export_id = JobsT::where('type', 2) |
|
|
|
|
->where('payload','like','%'. str_replace(['\\','"'],['_',''],json_encode($data['queue'])) .'%') |
|
|
|
|
->value('id'); |
|
|
|
|
$spreadRead = Excel::loadFile($filename); |
|
|
|
|
$worksheet = $spreadRead->getSheet(0); |
|
|
|
|
$highestRow = $worksheet->getHighestRow(); // e.g. 10 |
|
|
|
|