订单号最多18

This commit is contained in:
苏尹岚
2020-09-04 16:17:46 +08:00
parent 2c1d4888d7
commit a24dc5fb54

View File

@@ -1595,6 +1595,7 @@ func TransferJdsOrder(ctx *jxcontext.Context, vendorOrderID string, storeID int)
order.VendorOrderID2 = order.VendorOrderID2[0:12]
}
order.VendorOrderID = utils.Int64ToStr(utils.Str2Int64(order.VendorOrderID2)*100000) + utils.Int2Str(suffix)
order.VendorOrderID = order.VendorOrderID[0:18]
}
for _, sku := range skus {
sku.VendorOrderID = order.VendorOrderID