StatisticsDataService.java 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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) throws InterruptedException;
  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. /**
  30. * 每月业务数据导出
  31. */
  32. List<ExcelSheetAndData> exportMonthlyData(Long startTime, Long endTime);
  33. void yhShopDistribute(BackgroundDataView backgroundDataView, Date startDate, Date endDate);
  34. }