StatisticsDataService.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 com.cyksj.model.views.GroupsDataStatisticsView;
  9. import java.util.Date;
  10. import java.util.List;
  11. /*
  12. *项目名: netflix
  13. *文件名: StatisticsService
  14. *创建者: JavaZou
  15. *创建时间:2022/10/17 14:43
  16. */
  17. public interface StatisticsDataService {
  18. Result<BackgroundDataView> getStatisticsByCondition(Integer type, Long startTime, Long endTime) throws InterruptedException;
  19. 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);
  20. Result<String> updateRenewStatus(Long relationId);
  21. Result<String> updateHandleStatus(Long relationId);
  22. 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);
  23. BackgroundDataView getTitleData();
  24. //分销金额数据统计
  25. void distribute(BackgroundDataView backgroundDataView, Date startDate, Date endDate);
  26. /**
  27. * 数据导出
  28. */
  29. List<ExcelSheetAndData> exportStatisticsDataByType(Integer type, Long startTime, Long endTime);
  30. /**
  31. * 每月业务数据导出
  32. */
  33. List<ExcelSheetAndData> exportMonthlyData(Long startTime, Long endTime);
  34. Result<BackgroundDataView> getStatisticsHeader(Long startTime, Long endTime);
  35. void yhShopDistribute(BackgroundDataView backgroundDataView, Date startDate, Date endDate);
  36. GroupsDataStatisticsView getGroupsData(Long startTime, Long endTime, Integer type, Boolean isDistribute) throws Exception;
  37. }