فهرست منبع

Merge branch 'yang'

zhouzhendong 4 سال پیش
والد
کامیت
e6c3f0fe97
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      app/Services/OrderPackageReceivedSyncService.php

+ 1 - 0
app/Services/OrderPackageReceivedSyncService.php

@@ -148,6 +148,7 @@ class OrderPackageReceivedSyncService
         foreach ($logisticResponses as $logisticResponse) {
             if (empty($logisticResponse)) continue;
             $orderPackage = OrderPackage::query()->where('logistic_number', $logisticResponse['logistic_number'])->first();
+            if(empty($orderPackage)) continue;
             //如果已经收货,状态改为已签收
             if ($logisticResponse['received_at'] ?? false) {
                 $logisticResponse['status'] = '已签收';