This commit is contained in:
gazebo
2019-12-24 14:45:33 +08:00
parent 85d909234d
commit 26bfe04b7b

View File

@@ -1282,7 +1282,7 @@ func UpdateActPrice4StoreSkuNameNew(db *DaoDB, storeIDs, skuIDs []int, skuNamesI
v.EarningActID = actStoreSku.ActID
} else {
earningPrice := int(jxutils.CaculateSkuEarningPrice(int64(v.BindPrice), int64(v.BindPrice), skuName.PayPercentage))
if earningPrice < v.EbaiPrice {
if earningPrice < v.EarningPrice {
v.EarningPrice = earningPrice
}
}