This commit is contained in:
邹宗楠
2023-02-02 15:12:40 +08:00
parent a7b9bdee61
commit 62fe065d03
2 changed files with 4 additions and 5 deletions

View File

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