Jelajahi Sumber

一键揽收

ANG YU 4 tahun lalu
induk
melakukan
bd5f7f44cd
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      app/Http/Controllers/OrderController.php

+ 1 - 0
app/Http/Controllers/OrderController.php

@@ -499,6 +499,7 @@ sql;
         $allocationOrdernos = OrderPackage::query()
             ->whereIn('logistic_number', $logisticNums)
             ->leftJoin('orders', 'order_id', '=', 'orders.id')
+            ->select('orders.code')
             ->pluck('code');
         //调用分配接口
         $allocationOrdernos->each(function ($orderno) use ($orderService) {