|
|
@@ -143,6 +143,11 @@ class OrderPackageReceivedSyncService
|
|
|
} catch (Exception $e) {
|
|
|
LogService::log(OrderPackageReceivedSyncService::class, "标记问题件不需要更新异常状态失败", $data['logistic_number'].'-'.json_encode($e));
|
|
|
}
|
|
|
+ //如果已经收货,将异常更新为正常
|
|
|
+ if (array_key_exists('received_at',$data)) {
|
|
|
+ $data['exception_type'] = '无';
|
|
|
+ $data['exception'] = '否';
|
|
|
+ }
|
|
|
if (isset($data['status'])) $orderPackage->status = $data['status'];
|
|
|
if (isset($data['received_at'])) $orderPackage->received_at = $data['received_at'];
|
|
|
if (isset($data['exception'])) $orderPackage->exception = $data['exception'];
|