IProfitsDspService.java 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. package com.ydd.module.service;
  2. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  3. import com.baomidou.mybatisplus.extension.service.IService;
  4. import com.ydd.common.core.page.PageResult;
  5. import com.ydd.module.domain.ProfitsDelivery;
  6. import com.ydd.module.domain.ProfitsDsp;
  7. import com.ydd.module.domain.ProfitsMerchant;
  8. import com.ydd.module.dto.DeliveryListDto;
  9. import com.ydd.module.dto.EChartsDto;
  10. import com.ydd.module.dto.ProfitsDspDTO;
  11. import java.util.Date;
  12. import java.util.List;
  13. /**
  14. * 【请填写功能名称】Service接口
  15. *
  16. * @author douya
  17. * @date 2021-03-17
  18. */
  19. public interface IProfitsDspService extends IService<ProfitsDsp> {
  20. // ProfitsDsp deliveryStatistics(ProfitsMerchant profitsMerchant);
  21. ProfitsDsp deliveryStatistics(ProfitsDelivery profitsDelivery);
  22. /**
  23. *
  24. * @param page
  25. * @param profitsDelivery
  26. * @return
  27. */
  28. // PageResult deliveryPageList(Page page,ProfitsMerchant profitsMerchant);
  29. PageResult deliveryPageList(Page page, ProfitsDelivery profitsDelivery);
  30. /**
  31. * 外卖平台统计(导出)
  32. * @param profitsDelivery
  33. * @return
  34. */
  35. //List<DeliveryListDto> deliveryExportList(ProfitsMerchant profitsMerchant);
  36. List<DeliveryListDto> deliveryExportList(ProfitsDelivery profitsDelivery);
  37. PageResult queryProfitList(Page page, ProfitsMerchant profitsMerchant);
  38. ProfitsDsp profitStatistics(ProfitsMerchant profitsMerchant);
  39. /**
  40. * 查询列表
  41. * @param profitsDsp 实体
  42. * @return 列表
  43. */
  44. List<ProfitsDsp> queryList(ProfitsDsp profitsDsp);
  45. /**
  46. * 统计平台的预估佣金
  47. *
  48. */
  49. void settlementCommission();
  50. List<EChartsDto> getProfitTrend(Long dspId);
  51. ProfitsDsp profitProportion();
  52. ProfitsDsp selectCommissionByAgentId(String startDate);
  53. /**
  54. * 根据条件分页查询统计列表
  55. *
  56. * @param profitsDspDTO 统计信息
  57. * @return 统计信息集合信息
  58. */
  59. public List<ProfitsDspDTO> selectProfitsDspList(ProfitsDspDTO profitsDspDTO);
  60. }