物料订单分包测试
This commit is contained in:
@@ -836,9 +836,11 @@ func orderSolutionForWuLiao(order *model.GoodsOrder) (err error) {
|
||||
skus = append(skus, sku)
|
||||
}
|
||||
jxOrder.Skus = skus
|
||||
globals.SugarLogger.Debugf("tryToSplitMatterOrder3,[%v]", utils.Format4Output(jxOrder, false))
|
||||
outOrders, _, _ := tryToSplitMatterOrder(jxOrder)
|
||||
globals.SugarLogger.Debugf("tryToSplitMatterOrder,[%v]", utils.Format4Output(outOrders, false))
|
||||
globals.SugarLogger.Debugf("tryToSplitMatterOrder2,[%v]", utils.Format4Output(outOrders, false))
|
||||
for _, v := range outOrders {
|
||||
globals.SugarLogger.Debugf("tryToSplitMatterOrder4,[%v]", *v)
|
||||
outJxOrder, deliveryAddress, err := generateOrder(jxcontext.AdminCtx, v, order.AddressID, order.FromStoreID)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user