订单号最多18

This commit is contained in:
苏尹岚
2020-09-04 16:20:35 +08:00
parent 4f63859087
commit bccf10d8f5

View File

@@ -1595,7 +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]
// order.VendorOrderID = order.VendorOrderID[0:18]
}
for _, sku := range skus {
sku.VendorOrderID = order.VendorOrderID