From 67ebda3400388ede195959822b16b2947bd35d99 Mon Sep 17 00:00:00 2001 From: zcstatham <578322713@qq.com> Date: Mon, 12 Sep 2022 23:04:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=A4=8D=E8=BD=A6=E6=9E=B6=E5=A4=84?= =?UTF-8?q?=E7=90=86=E8=B0=83=E8=AF=9514?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/service/CarInfoHandle.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extend/service/CarInfoHandle.php b/extend/service/CarInfoHandle.php index 7b4af5f..ec67d02 100644 --- a/extend/service/CarInfoHandle.php +++ b/extend/service/CarInfoHandle.php @@ -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 && $export_type == 'repeat_delete') { + } 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 && $export_type == 'repeat_delete') { + } else if($export_limit != 0 && $export_type != 'repeat_delete') { CarInfoT::where('id', 'in', $ids)->update(['is_export_' . $export_type => $id]); } $limit -= 3000; @@ -708,9 +708,9 @@ class CarInfoHandle } $this->setProcess($row, $count * 1.2, $id); } - if($export_limit != 0 && $export_type == 'success_bmc'){ + if($export_limit != 0 && $export_type == 'success_bmc') { CarInfoT::where('id', 'in', $ids)->update(['is_export_bmc' => 0]); - } else if($export_limit != 0 && $export_type == 'repeat_delete') { + } else if($export_limit != 0 && $export_type != 'repeat_delete') { CarInfoT::where('id', 'in', $ids)->update(['is_export_' . $export_type => $id]); } } else { @@ -728,7 +728,7 @@ class CarInfoHandle } if($export_limit != 0 && $export_type == 'success_bmc'){ CarInfoT::where('id', 'in', $ids)->update(['is_export_bmc' => 0]); - } else if($export_limit != 0 && $export_type == 'repeat_delete') { + } else if($export_limit != 0 && $export_type != 'repeat_delete') { CarInfoT::where('id', 'in', $ids)->update(['is_export_' . $export_type => $id]); } $limit -= 3000;