订单号最多18

This commit is contained in:
苏尹岚
2020-09-04 16:30:47 +08:00
parent a7c33aa79e
commit 82b96a6920

View File

@@ -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)