StatisticsDataService.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.cyksj.service.mange.statistics;
  2. import com.baomidou.mybatisplus.core.metadata.IPage;
  3. import com.cyksj.dto.Result;
  4. import com.cyksj.model.excel.ExcelAccountData;
  5. import com.cyksj.model.excel.ExcelSheetAndData;
  6. import com.cyksj.model.views.BackgroundDataView;
  7. import com.cyksj.model.views.ExpiredAccountDataView;
  8. import java.util.Date;
  9. import java.util.List;
  10. /*
  11. *项目名: netflix
  12. *文件名: StatisticsService
  13. *创建者: JavaZou
  14. *创建时间:2022/10/17 14:43
  15. */
  16. public interface StatisticsDataService {
  17. Result<BackgroundDataView> getStatisticsByCondition(Long startTime, Long endTime);
  18. IPage<ExpiredAccountDataView> getExpiredAccountView(Boolean isCorpWx, String customerService, Long goodsId, Long skuId, String account, Boolean renewStatus, Boolean handleStatus, String cnAccount, String usAccount, Integer uid, Long startTime, Long endTime, Long start, Long limit);
  19. Result<String> updateRenewStatus(Long relationId);
  20. Result<String> updateHandleStatus(Long relationId);
  21. List<ExcelAccountData> getExpiredAccountViewNoPage(Boolean isCorpWx, String customerService, Long goodsId, Long skuId, String account, Boolean renewStatus, Boolean handleStatus, String cnAccount, String usAccount, Integer userId, Long startTime, Long endTime);
  22. BackgroundDataView getTitleData();
  23. //分销金额数据统计
  24. void distribute(BackgroundDataView backgroundDataView, Date startDate, Date endDate);
  25. /**
  26. * 数据导出
  27. */
  28. List<ExcelSheetAndData> exportStatisticsDataByType(Integer type, Long startTime, Long endTime);
  29. }