整错了

This commit is contained in:
苏尹岚
2020-08-18 16:44:34 +08:00
parent 37b2ddc358
commit 055bf5dc8a

View File

@@ -1368,8 +1368,8 @@ func UpdateActPrice4StoreSkuNameNew(db *DaoDB, storeIDs, skuIDs []int, skuNamesI
v.ActID = actStoreSku.ActID
v.ActType = actStoreSku.Type
v.EarningPrice = int(jxutils.CaculateSkuEarningPrice(int64(v.BindPrice), int64(v.ActPrice), skuName.PayPercentage))
v.TrendType = actStoreSku.TrendType
v.TrendPrice = actStoreSku.TrendPrcie
// v.TrendType = actStoreSku.TrendType
// v.TrendPrice = actStoreSku.TrendPrcie
}
if actStoreSku := actStoreSkuMap4EarningPrice.GetActStoreSku(skuName.StoreID, v.SkuID, -1); actStoreSku != nil {
v.EarningPrice = int(actStoreSku.EarningPrice)