提交订单

This commit is contained in:
邹宗楠
2022-03-09 14:52:21 +08:00
parent 19fed7f0aa
commit cff4e7fb01
6 changed files with 11 additions and 4 deletions

View File

@@ -207,6 +207,7 @@ func (s *DefScheduler) CreateWaybillOnProvidersEx(ctx *jxcontext.Context, vendor
if vendorID == model.VendorIDELM {
return nil, fmt.Errorf("不要直接使用饿了么订单号,请使用相应的饿百订单号")
}
// 创建可调度对象,并且存储
savedOrderInfo := s.loadSavedOrderByID(vendorOrderID, vendorID, true)
if savedOrderInfo != nil {
order := savedOrderInfo.order