订单号最多18
This commit is contained in:
@@ -1414,7 +1414,7 @@ func MergeJdsOrders(ctx *jxcontext.Context, vendorOrderIDs []string) (vendorOrde
|
||||
order.SalePrice = salePrice
|
||||
order.ShopPrice = shopPrice
|
||||
order.TotalShopMoney = totalShop
|
||||
order.VendorOrderID = utils.Int64ToStr(utils.Str2Int64(orders[0].VendorOrderID2)*10000) + utils.Int2Str(99)
|
||||
order.VendorOrderID = utils.Int64ToStr(utils.Str2Int64(orders[0].VendorOrderID2)*10000) + utils.Int2Str(time.Now().Second())
|
||||
order.VendorOrderID2 = strings.Join(orderIDs, ",")
|
||||
order.Status = model.OrderStatusNew
|
||||
setJdsOrderSeq(order)
|
||||
|
||||
Reference in New Issue
Block a user