|
|
@ -300,14 +300,6 @@ namespace BBWY.Server.Business |
|
|
|
var totalProfit = currentSpuCostDetailList.Sum(ocd => ocd.SkuGrossProfit); |
|
|
|
|
|
|
|
XingXiangCumulative(detailList, spuGroup.Key, false, totalProfit, totalActualAmount, 0); |
|
|
|
|
|
|
|
//var tempSpuProductAmount = spuGroup.Sum(osku => osku.Price * osku.ItemTotal) ?? 0M;
|
|
|
|
//var tempSpuCost = currentSpuCostDetailList.Count() > 0 ? currentSpuCostDetailList.Sum(ocd => ocd.TotalCost) : 0M;
|
|
|
|
//var tempSpuProfit = tempSpuProductAmount - tempSpuCost;
|
|
|
|
//var spuProfitPercent = tempOrderProfit == 0M ? 0M : tempSpuProfit / tempOrderProfit;
|
|
|
|
|
|
|
|
//var realSpuProfit = (order.Profit ?? 0M) * spuProfitPercent;
|
|
|
|
//XingXiangCumulative(detailList, spuGroup.Key, false, realSpuProfit, tempSpuProductAmount, 0, 0);
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|