|
|
|
@ -389,7 +389,6 @@ class CarInfoHandle |
|
|
|
|
CarInfoT::where('id', $source_a['id'])->update($source_a); |
|
|
|
|
$this->repeatDataHandle($source, $id, 'frame'); |
|
|
|
|
$delete_num ++; |
|
|
|
|
CarInfoT::destroy($source['id']); |
|
|
|
|
unset($sources[$index]); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -400,7 +399,7 @@ class CarInfoHandle |
|
|
|
|
} catch (\Exception $e) { |
|
|
|
|
$faild_num++; |
|
|
|
|
Db::rollback(); |
|
|
|
|
Log::record($e->getTraceAsString(), 'error'); |
|
|
|
|
Log::record($e->getMessage(), 'error'); |
|
|
|
|
} |
|
|
|
|
$current++; |
|
|
|
|
} |
|
|
|
|