From 9ab026c821b99a2e6c98d1e481872568ad437434 Mon Sep 17 00:00:00 2001 From: zcstatham <578322713@qq.com> Date: Sun, 11 Sep 2022 23:08:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=A2=9E=E5=8A=A0=E9=98=9F?= =?UTF-8?q?=E5=88=97=E5=90=8D=E5=AD=97=E6=AE=B5=EF=BC=88=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E6=B2=A1=E7=94=A8=EF=BC=8C=E6=A8=A1=E7=B3=8A=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=EF=BC=89,=E6=B7=BB=E5=8A=A0=E5=AF=BC=E5=87=BA=E9=98=9F?= =?UTF-8?q?=E5=88=97=E7=BA=A6=E6=9D=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/service/CarInfoHandle.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extend/service/CarInfoHandle.php b/extend/service/CarInfoHandle.php index dff93c8..6ca7693 100644 --- a/extend/service/CarInfoHandle.php +++ b/extend/service/CarInfoHandle.php @@ -446,7 +446,9 @@ class CarInfoHandle } $export_id = 0; if($data['queue'] != '') - $export_id = JobsT::where('payload','like','%'. str_replace(['\\','"'],['_',''],json_encode($data['queue'])) .'%')->value('id'); + $export_id = JobsT::where('type', 2) + ->where('payload','like','%'. str_replace(['\\','"'],['_',''],json_encode($data['queue'])) .'%') + ->value('id'); $spreadRead = Excel::loadFile($filename); $worksheet = $spreadRead->getSheet(0); $highestRow = $worksheet->getHighestRow(); // e.g. 10