This commit is contained in:
gazebo
2019-12-05 09:20:42 +08:00
parent e742d88efd
commit db01d62722

View File

@@ -960,7 +960,7 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
}
scaleFactor := float64(1)
if isScale {
scaleFactor = float64(jxutils.ConstrainPayPercentage(storeDetail.PayPercentage)) / 100
scaleFactor = 100 / float64(jxutils.ConstrainPayPercentage(storeDetail.PayPercentage))
}
for _, skuBindInfo := range skuBindInfos {
// 关注且没有给价时需要尝试从store_sku_bind中得到已有的单价