diff --git a/business/jxstore/cms/sku.go b/business/jxstore/cms/sku.go index c31ee530c..7625d28ce 100644 --- a/business/jxstore/cms/sku.go +++ b/business/jxstore/cms/sku.go @@ -1816,7 +1816,7 @@ func CreateUpcSkuByExcelBin(ctx *jxcontext.Context, reader io.Reader) (hint stri specQuality = float32(utils.Str2Float64WithDefault(cell, 0)) } if k == 4 { - price = int(utils.Str2Float64WithDefault(cell, 0)) + price = int(utils.Str2Float64WithDefault(cell, 0) * 100) } } } @@ -1899,7 +1899,7 @@ func CreateUpcSkuByExcelBin(ctx *jxcontext.Context, reader io.Reader) (hint stri skuName.Price = int(utils.Str2Int64(result.Price) * 100) } } else { - skuName.Price = v.Price * 100 + skuName.Price = v.Price } if v.Unit != "" { if v.Unit == model.UnitNames[0] { @@ -1959,7 +1959,7 @@ func CreateUpcSkuByExcelBin(ctx *jxcontext.Context, reader io.Reader) (hint stri skuName.Price = int(utils.Str2Int64(result.Price) * 100) } } else { - skuName.Price = v.Price * 100 + skuName.Price = v.Price } skuName.Name = productInfo.Name skuName.Unit = productInfo.Unit