- fix bug in GetStoresOrderSaleInfoNew
This commit is contained in:
@@ -814,10 +814,10 @@ func (c *OrderManager) GetStoresOrderSaleInfoNew(ctx *jxcontext.Context, storeID
|
|||||||
}
|
}
|
||||||
saleInfoMap[index] = saleInfo
|
saleInfoMap[index] = saleInfo
|
||||||
}
|
}
|
||||||
saleInfo.ShopPrice += v.ShopPrice
|
saleInfo.ShopPrice += v.ShopPrice * int64(v.Count)
|
||||||
saleInfo.VendorPrice += v.VendorPrice
|
saleInfo.VendorPrice += v.VendorPrice * int64(v.Count)
|
||||||
saleInfo.SalePrice += v.SalePrice
|
saleInfo.SalePrice += v.SalePrice * int64(v.Count)
|
||||||
saleInfo.EarningPrice += v.EarningPrice
|
saleInfo.EarningPrice += v.EarningPrice * int64(v.Count)
|
||||||
|
|
||||||
universalOrderID := jxutils.ComposeUniversalOrderID(v.VendorOrderID, v.VendorID)
|
universalOrderID := jxutils.ComposeUniversalOrderID(v.VendorOrderID, v.VendorID)
|
||||||
if orderMap[universalOrderID] == nil {
|
if orderMap[universalOrderID] == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user