From 279ccd522c5e277b5a14780c9776fadffdc5e6cf Mon Sep 17 00:00:00 2001 From: zcstatham <578322713@qq.com> Date: Mon, 12 Sep 2022 22:56:23 +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=9513?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/service/CarInfoHandle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extend/service/CarInfoHandle.php b/extend/service/CarInfoHandle.php index 4386e5f..7b4af5f 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) { + } 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;