shanji 3 years ago
parent
commit
56acb225be
  1. 7
      BBWY.Server.Business/Statistics/StatisticsBusiness.cs
  2. 7
      BBWY.Server.Model/Dto/Request/Statistics/ToDayOrderAchievementRequest.cs
  3. 1
      BBWY.Server.Model/Dto/Response/Statistics/OrderAchievementResponse.cs

7
BBWY.Server.Business/Statistics/StatisticsBusiness.cs

@ -51,10 +51,15 @@ namespace BBWY.Server.Business
response.AdvCost = advCost; response.AdvCost = advCost;
response.Profit -= advCost; response.Profit -= advCost;
} }
response.ShopId = request.ShopId;
return response; return response;
} }
public IList<OrderAchievementResponse> GetOrderAchievementStatistics(AllShopOrderAchievementRequest request)
{
return null;
}
private void XingXiangCumulative(IList<XingXiangItemResponse> detailList, string spuId, bool isSD, decimal profit, decimal sdProductAmount, decimal sdCost) private void XingXiangCumulative(IList<XingXiangItemResponse> detailList, string spuId, bool isSD, decimal profit, decimal sdProductAmount, decimal sdCost)
{ {
var xxRespose = detailList.FirstOrDefault(xx => xx.Spu == spuId); var xxRespose = detailList.FirstOrDefault(xx => xx.Spu == spuId);

7
BBWY.Server.Model/Dto/Request/Statistics/ToDayOrderAchievementRequest.cs

@ -10,4 +10,11 @@ namespace BBWY.Server.Model.Dto
public DateTime EndTime { get; set; } public DateTime EndTime { get; set; }
} }
public class AllShopOrderAchievementRequest
{
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
}
} }

1
BBWY.Server.Model/Dto/Response/Statistics/OrderAchievementResponse.cs

@ -4,6 +4,7 @@ namespace BBWY.Server.Model.Dto
{ {
public class OrderAchievementResponse public class OrderAchievementResponse
{ {
public long ShopId { get; set; }
/// <summary> /// <summary>
/// 销售额(用户实付) /// 销售额(用户实付)

Loading…
Cancel
Save