AdTheatreTvStatService.java 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. package com.ylcm.sys.service;
  2. import com.baomidou.mybatisplus.core.metadata.IPage;
  3. import com.baomidou.mybatisplus.extension.service.IService;
  4. import com.ylcm.sys.domain.AdTheatre;
  5. import com.ylcm.sys.domain.AdTheatreTvStat;
  6. import com.ylcm.sys.form.AdTheatreAnalysisDetailQueryForm;
  7. import com.ylcm.sys.form.AdTheatreAnalysisQueryForm;
  8. import com.ylcm.sys.vo.*;
  9. import java.util.List;
  10. /**
  11. * <p>
  12. * 关联电视剧数据 服务类
  13. * </p>
  14. *
  15. * @author admin
  16. * @since 2020-07-01
  17. */
  18. public interface AdTheatreTvStatService extends IService<AdTheatreTvStat> {
  19. IPage<AdTheatreAnalysisVO> getPage(AdTheatreAnalysisQueryForm queryForm);
  20. IPage<AdTheatreAnalysisDetailVO> getDetailPage(AdTheatreAnalysisDetailQueryForm queryForm);
  21. /**
  22. * 统计频道这个季度的时间
  23. * @param mediaName
  24. * @param theatreTime
  25. * @param startDate
  26. * @param endDate
  27. * @return
  28. */
  29. AdTheatreTvStat statByMedia(String mediaName, Integer theatreTime, String startDate, String endDate);
  30. /**
  31. * 剧场电视剧收视排名
  32. * @param startDate
  33. * @param endDate
  34. * @return
  35. */
  36. List<AdTheatreTopVO> getTvTop(Integer theatreTime, String startDate, String endDate);
  37. /**
  38. * 剧场电视剧收视排名
  39. * @param name 剧名
  40. * @param theatreTime 剧场:0日间 1黄金2午夜3凌晨
  41. * @param startDate 播放时间
  42. * @param endDate 播放时间
  43. */
  44. List<AdTheatreTopVO> getMediaTop(String name, Integer theatreTime, String startDate, String endDate, Integer limitSize);
  45. /**
  46. * 电视剧收视分析
  47. * @param queryForm
  48. * @return
  49. */
  50. AdTvRatioVO getTvRatioVO(AdTheatreAnalysisDetailQueryForm queryForm);
  51. /**
  52. * 收视区域分布
  53. * @param queryForm
  54. * @return
  55. */
  56. AdTvZoneVO getTvZoneVO(AdTheatreAnalysisDetailQueryForm queryForm);
  57. /**
  58. * 电视剧产品投放分析
  59. * @param queryForm
  60. * @return
  61. */
  62. List<AdTheatreProductDistVO> getProductVO(AdTheatreAnalysisDetailQueryForm queryForm);
  63. /**
  64. * 电视剧体裁结构分析
  65. * @param queryForm
  66. * @return
  67. */
  68. List<AdThemeDistVO> getThemeDistVO(AdTheatreAnalysisDetailQueryForm queryForm);
  69. /**
  70. * 同步统计数据
  71. * @param adTheatre
  72. * @param
  73. */
  74. void saveStatByTheatreTv(AdTheatre adTheatre);
  75. /**
  76. * 剧名等基本信息修改
  77. * @param newName
  78. * @param oldName
  79. * @param firstTheme
  80. * @param oldFirstTheme
  81. */
  82. void batchUpdateByName(String newName, String oldName, String firstTheme, String oldFirstTheme, String secondTheme);
  83. }