This commit is contained in:
邹宗楠
2022-11-03 14:03:22 +08:00
parent 418cd06536
commit d2707ddaf1
3 changed files with 9 additions and 0 deletions

View File

@@ -586,6 +586,10 @@ func (s *DefScheduler) OnWaybillStatusChanged(bill *model.Waybill, isPending boo
s.saveDeliveryFeeFromAndStartWatch(savedOrderInfo, bill.StatusTime)
}
// s.sendCourierOrderSMS(bill)
// 抖店在创建运单时,推送发单
if order.VendorID == model.VendorIDDD && bill.Status == model.WaybillStatusNew {
partner.GetPurchaseOrderHandlerFromVendorID(order.VendorID).SelfDeliverDelivering(order, "")
}
} else {
isBillExist := s.updateBillsInfo(savedOrderInfo, bill)
if !isBillExist {