|
@ -238,7 +238,7 @@ namespace BBWY.Server.Business |
|
|
order.FirstFreight = statistics?.FirstFreight ?? 0M; |
|
|
order.FirstFreight = statistics?.FirstFreight ?? 0M; |
|
|
order.PurchaseSkuAmount = statistics?.SkuAmount ?? 0M; |
|
|
order.PurchaseSkuAmount = statistics?.SkuAmount ?? 0M; |
|
|
order.StorageAmount = statistics?.StorageAmount ?? 0M; |
|
|
order.StorageAmount = statistics?.StorageAmount ?? 0M; |
|
|
order.SkuIds = string.Join("|", orderSkuList.Where(osku => osku.OrderId == order.OrderId)); |
|
|
order.SkuIds = string.Join("|", orderSkuList.Where(osku => osku.OrderId == order.OrderId).Select(osku => osku.SkuId)); |
|
|
order.ProfitRatio = order.TotalCost == 0 ? 0 : Math.Round(order.Profit / order.TotalCost * 100, 2); |
|
|
order.ProfitRatio = order.TotalCost == 0 ? 0 : Math.Round(order.Profit / order.TotalCost * 100, 2); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|