1
This commit is contained in:
@@ -48,6 +48,7 @@ func (s *DefScheduler) SelfDeliveringAndUpdateStatus(ctx *jxcontext.Context, ven
|
|||||||
} else {
|
} else {
|
||||||
if order.Status < model.OrderStatusDelivering {
|
if order.Status < model.OrderStatusDelivering {
|
||||||
err = s.Swtich2SelfDeliver(order, userName)
|
err = s.Swtich2SelfDeliver(order, userName)
|
||||||
|
globals.SugarLogger.Debugf("====================err %v", err)
|
||||||
} else if order.VendorID == order.WaybillVendorID { // 状态为配送中,且是购物平台运单,不能转自送了
|
} else if order.VendorID == order.WaybillVendorID { // 状态为配送中,且是购物平台运单,不能转自送了
|
||||||
err = scheduler.ErrOrderStatusIsNotSuitable4CurOperation
|
err = scheduler.ErrOrderStatusIsNotSuitable4CurOperation
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user