- fix SelfDeliverDelievering to SelfDeliverDelivering.

This commit is contained in:
gazebo
2018-10-09 17:42:14 +08:00
parent a288ce2213
commit a8c35c2448
7 changed files with 12 additions and 12 deletions

View File

@@ -316,7 +316,7 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
s.cancelOtherWaybills(savedOrderInfo, bill, partner.CancelWaybillReasonNotAcceptIntime, partner.CancelWaybillReasonStrNotAcceptIntime)
if bill.WaybillVendorID != bill.OrderVendorID {
if savedOrderInfo.storeDeliveryType == scheduler.StoreDeliveryTypeByStore {
s.SelfDeliverDelievering(savedOrderInfo.order, "")
s.SelfDeliverDelivering(savedOrderInfo.order, "")
} else {
s.swtich2SelfDeliverWithRetry(savedOrderInfo, bill, 2, 10*time.Second)
}