反算京西价测试

This commit is contained in:
苏尹岚
2020-03-19 10:00:30 +08:00
parent b402031860
commit cc5eb1f8aa
2 changed files with 3 additions and 1 deletions

View File

@@ -342,6 +342,7 @@ func CaculatePriceByPricePack(l model.PricePercentagePack, defPricePercentage, p
func CaculateJxPriceByPricePack(l model.PricePercentagePack, defPricePercentage, vendorPrice int) (jxPrice int) {
pricePercentage, priceAdd := GetPricePercentageByVendorPrice(l, vendorPrice, defPricePercentage)
fmt.Println("RefreshJxPriceByVendor4", pricePercentage, priceAdd)
jxPrice = CaculateSkuPriceFromVendor(vendorPrice, pricePercentage, priceAdd)
return jxPrice
}