Explorar el Código

运输查询BUG修复

Zhouzhendong hace 4 años
padre
commit
3328a2fa80
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"]);