- fix bug in GetStoresOrderSaleInfoNew
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user