From db01d62722340944e563b3f15ad230a313b2a074 Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 5 Dec 2019 09:20:42 +0800 Subject: [PATCH] fk --- business/jxstore/cms/store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index f6bde557b..d412e5570 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -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中得到已有的单价