cqp 4 недель назад
Родитель
Сommit
a4dafc9f90
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app/Jobs/ProcessDataJob.php

+ 2 - 2
app/Jobs/ProcessDataJob.php

@@ -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];
                 }