|
|
|
@ -652,7 +652,7 @@ class CarInfoHandle |
|
|
|
|
FileSystem::appendWriteFile($filename, $content, false); |
|
|
|
|
if($export_limit != 0 && $export_type == 'success_bmc'){ |
|
|
|
|
CarInfoT::where('id', 'in', $ids)->update(['is_export_bmc' => 0]); |
|
|
|
|
} else if($export_limit != 0) { |
|
|
|
|
} else if($export_limit != 0 && $export_type == 'repeat_delete') { |
|
|
|
|
CarInfoT::where('id', 'in', $ids)->update(['is_export_' . $export_type => $id]); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
@ -672,7 +672,7 @@ class CarInfoHandle |
|
|
|
|
FileSystem::appendWriteFile($filename, $content, false); |
|
|
|
|
if($export_limit != 0 && $export_type == 'success_bmc'){ |
|
|
|
|
CarInfoT::where('id', 'in', $ids)->update(['is_export_bmc' => 0]); |
|
|
|
|
} else if($export_limit != 0) { |
|
|
|
|
} else if($export_limit != 0 && $export_type == 'repeat_delete') { |
|
|
|
|
CarInfoT::where('id', 'in', $ids)->update(['is_export_' . $export_type => $id]); |
|
|
|
|
} |
|
|
|
|
$limit -= 3000; |
|
|
|
|