Merge remote-tracking branch 'origin/mark' into su

This commit is contained in:
苏尹岚
2020-02-21 10:26:21 +08:00
2 changed files with 5 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ func (p *PurchaseHandler) OrderDetail2Financial(a *jdapi.API, orderData map[stri
orderFinancial.SalePriceMoney += orderSkuFinancial.SalePrice * int64(orderSkuFinancial.Count)
orderSkuFinancial.SkuID = int(utils.Str2Int64WithDefault(utils.Interface2String(xMap["skuIdIsv"]), 0))
if orderSkuFinancial.SkuID > math.MaxInt32 {
orderSkuFinancial.SkuID = 0
orderSkuFinancial.SkuID = orderSkuFinancial.JxSkuID
}
orderFinancial.Skus = append(orderFinancial.Skus, orderSkuFinancial)
}