This commit is contained in:
gazebo
2019-12-24 10:44:46 +08:00
parent 3d8781ca0f
commit a8dbf89159

View File

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