- bug fix

This commit is contained in:
gazebo
2018-07-26 17:55:02 +08:00
parent 81752da82d
commit d9ae588979

View File

@@ -152,7 +152,9 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
globals.SugarLogger.Warnf("OnWaybillStatusChanged bill:%v purchase platform bill came later than others, strange!!!", bill)
}
}
s.resetTimer(savedOrderInfo, scheduler.TimerStatusTypeWaybill, bill.Status, false)
if bill.OrderVendorID == bill.WaybillVendorID {
s.resetTimer(savedOrderInfo, scheduler.TimerStatusTypeWaybill, bill.Status, false)
}
} else {
switch bill.Status {
case model.WaybillStatusAccepted: