- fk
This commit is contained in:
@@ -870,13 +870,13 @@ func (c *OrderManager) GetStoresOrderSaleInfoNew(ctx *jxcontext.Context, storeID
|
|||||||
order.VendorPrice += orderSku.VendorPrice * int64(v.Count)
|
order.VendorPrice += orderSku.VendorPrice * int64(v.Count)
|
||||||
order.SalePrice += orderSku.SalePrice * int64(v.Count)
|
order.SalePrice += orderSku.SalePrice * int64(v.Count)
|
||||||
order.EarningPrice += orderSku.EarningPrice * int64(v.Count)
|
order.EarningPrice += orderSku.EarningPrice * int64(v.Count)
|
||||||
|
} else {
|
||||||
|
globals.SugarLogger.Debug(utils.Format4Output(v, true))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for universalOrderID, v := range afsOrderMap {
|
for universalOrderID, v := range afsOrderMap {
|
||||||
if orderMap[universalOrderID] != nil {
|
if orderMap[universalOrderID] != nil && orderMap[universalOrderID].SkuCount == v.SkuCount {
|
||||||
if orderMap[universalOrderID].SkuCount == v.SkuCount {
|
v.EarningPrice = orderMap[universalOrderID].ActualPayPrice
|
||||||
v.EarningPrice = orderMap[universalOrderID].ActualPayPrice
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
status := -1
|
status := -1
|
||||||
index := jxutils.Combine2Int(v.StoreID, v.VendorID)*1000 + int64(status)
|
index := jxutils.Combine2Int(v.StoreID, v.VendorID)*1000 + int64(status)
|
||||||
|
|||||||
Reference in New Issue
Block a user