From c61ccf4bb5a26ca81662d9ac439eb80f4b017cb9 Mon Sep 17 00:00:00 2001 From: zcstatham <578322713@qq.com> Date: Mon, 5 Sep 2022 22:52:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E6=9E=B6=E9=87=8D=E5=A4=8D=E5=A4=84?= =?UTF-8?q?=E7=90=86=E8=B0=83=E8=AF=954?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/service/CarInfoHandle.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extend/service/CarInfoHandle.php b/extend/service/CarInfoHandle.php index 23e0af2..e3c6776 100644 --- a/extend/service/CarInfoHandle.php +++ b/extend/service/CarInfoHandle.php @@ -320,6 +320,7 @@ class CarInfoHandle Db::startTrans(); try { foreach ($sources as $index => $source) { + Log::record($index); if (empty(trim($source['car_phone']))) { Log::record($source['id']); foreach ($sources as $source_data) { @@ -329,7 +330,9 @@ class CarInfoHandle } Log::record($source['id']); RepeatFrameT::where('car_frame_no', $item->car_frame_no)->delete(); + Log::record($source_data['id']); $sources = []; + Log::record($source_data['id']); break; } else if ($source_a['car_phone'] == $source['car_phone']) { if (trim($source_a['insurer1_date']) != trim($source['insurer1_date']) && (trim($source_a['insurer1_date']) == '' || $source_a['insurer1_date'] < $source['insurer1_date'])) {