Zhouzhendong 4 лет назад
Родитель
Сommit
3328a2fa80
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/WaybillService.php

+ 1 - 1
app/Services/WaybillService.php

@@ -45,7 +45,7 @@ class WaybillService
                 /** @var Builder $query */
                 $query->whereIn("waybills.owner_id",$ownerIds)->orWhereHas("order",function ($query)use($ownerIds){
                     /** @var Builder $query */
-                    $query->whereIn("owner",$ownerIds);
+                    $query->whereIn("owner_id",$ownerIds);
                 });
             });
             unset($param["owner"]);