导入增加队列名字段(可能没用,模糊搜索),添加导出队列约束

master
zcstatham 2 years ago
parent f33f07d6a6
commit 9ab026c821
  1. 4
      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

Loading…
Cancel
Save