123
This commit is contained in:
@@ -1987,7 +1987,7 @@ func result2Orders(ctx *jxcontext.Context, result *jdshopapi.AllOrdersResult) (o
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
//有可能是库里已经有这个订单了
|
//有可能是库里已经有这个订单了
|
||||||
orderE, err := partner.CurOrderManager.LoadOrder(utils.Int64ToStr(jdsOrder.OrderID)+"00000001", model.VendorIDJDShop)
|
orderE, err := partner.CurOrderManager.LoadOrder(utils.Int64ToStr(jdsOrder.OrderID)+"001", model.VendorIDJDShop)
|
||||||
if orderE != nil {
|
if orderE != nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
@@ -1999,7 +1999,7 @@ func result2Orders(ctx *jxcontext.Context, result *jdshopapi.AllOrdersResult) (o
|
|||||||
}
|
}
|
||||||
order := &model.GoodsOrder{
|
order := &model.GoodsOrder{
|
||||||
VendorOrderID2: utils.Int64ToStr(jdsOrder.OrderID),
|
VendorOrderID2: utils.Int64ToStr(jdsOrder.OrderID),
|
||||||
VendorOrderID: utils.Int64ToStr(jdsOrder.OrderID) + "00000001",
|
VendorOrderID: utils.Int64ToStr(jdsOrder.OrderID) + "001",
|
||||||
VendorID: model.VendorIDJDShop,
|
VendorID: model.VendorIDJDShop,
|
||||||
BaseFreightMoney: jxutils.StandardPrice2Int(jdsOrder.Freight),
|
BaseFreightMoney: jxutils.StandardPrice2Int(jdsOrder.Freight),
|
||||||
VendorStatus: utils.Int2Str(jdsOrder.OrderStatus),
|
VendorStatus: utils.Int2Str(jdsOrder.OrderStatus),
|
||||||
|
|||||||
Reference in New Issue
Block a user