diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index aed0e04dd..4158ee3ce 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -3389,7 +3389,11 @@ func FocusStoreSkusBySku(ctx *jxcontext.Context, skuBindInfos []*StoreSkuBindInf } priceReferList, _ := dao.GetPriceReferSnapshotNoPage(db, []int{0}, nil, []int{skuList[0].NameID}, utils.Time2Date(time.Now().AddDate(0, 0, -1))) if len(priceReferList) > 0 { - price = priceReferList[0].MidUnitPrice / payPercentage * 100 + if payPercentage == 100 { + price = priceReferList[0].MidUnitPrice * payPercentage / 100 + } else { + price = priceReferList[0].MidUnitPrice / payPercentage * 100 + } } } skuBindSkuInfo := &StoreSkuBindSkuInfo{