|
|
@@ -91,10 +91,10 @@ class ProcessDataJob implements ShouldQueue
|
|
|
"dVeriDate" => $time1 . ".000",
|
|
|
]);
|
|
|
}elseif($type == Record::type_four){
|
|
|
- list($status, $msg) = $this->inventoryAddToU8($record, $service);
|
|
|
+ list($status, $msg) = $this->inventoryAddToU8($record, $service->db);
|
|
|
if(! $status) return [false, $msg];
|
|
|
}elseif($type == Record::type_five){
|
|
|
- list($status, $msg) = $this->vendorAddToU8($record, $service);
|
|
|
+ list($status, $msg) = $this->vendorAddToU8($record, $service->db);
|
|
|
if(! $status) return [false, $msg];
|
|
|
}
|
|
|
|