diff --git a/BBWY.Server.Business/Statistics/StatisticsBusiness.cs b/BBWY.Server.Business/Statistics/StatisticsBusiness.cs index 7550421b..a4d27314 100644 --- a/BBWY.Server.Business/Statistics/StatisticsBusiness.cs +++ b/BBWY.Server.Business/Statistics/StatisticsBusiness.cs @@ -89,6 +89,12 @@ namespace BBWY.Server.Business list.Add(xxRespose); } xxRespose.Profit += profit; + if (order.StorageType == Enums.StorageType.SD) + { + xxRespose.SDOrderCount++; + xxRespose.SDOrderAmount += procutAmount; + xxRespose.SDOrderCost += purchaseAmount + deliveryFreight + commissionAmount; + } } } diff --git a/BBWY.Server.Model/Dto/Response/Order/XingXinagSearchResponse.cs b/BBWY.Server.Model/Dto/Response/Order/XingXinagSearchResponse.cs index d803141d..34cf9afb 100644 --- a/BBWY.Server.Model/Dto/Response/Order/XingXinagSearchResponse.cs +++ b/BBWY.Server.Model/Dto/Response/Order/XingXinagSearchResponse.cs @@ -7,5 +7,20 @@ //public decimal TotalCost { get; set; } public decimal Profit { get; set; } + + /// + /// 刷单单量 + /// + public decimal SDOrderCount { get; set; } + + /// + /// 刷单成本 + /// + public decimal SDOrderCost { get; set; } + + /// + /// 刷单成交额 + /// + public decimal SDOrderAmount { get; set; } } }