diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index 44698456f..3c0c4203f 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -814,10 +814,10 @@ func (c *OrderManager) GetStoresOrderSaleInfoNew(ctx *jxcontext.Context, storeID } saleInfoMap[index] = saleInfo } - saleInfo.ShopPrice += v.ShopPrice - saleInfo.VendorPrice += v.VendorPrice - saleInfo.SalePrice += v.SalePrice - saleInfo.EarningPrice += v.EarningPrice + saleInfo.ShopPrice += v.ShopPrice * int64(v.Count) + saleInfo.VendorPrice += v.VendorPrice * int64(v.Count) + saleInfo.SalePrice += v.SalePrice * int64(v.Count) + saleInfo.EarningPrice += v.EarningPrice * int64(v.Count) universalOrderID := jxutils.ComposeUniversalOrderID(v.VendorOrderID, v.VendorID) if orderMap[universalOrderID] == nil {