CommonMapper.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package com.gree.mall.contest.commonmapper;
  2. import cn.hutool.core.date.DateTime;
  3. import com.baomidou.mybatisplus.core.metadata.IPage;
  4. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  5. import com.gree.mall.contest.bean.common.AmityUrlVO;
  6. import com.gree.mall.contest.bean.common.CarouselMapVO;
  7. import com.gree.mall.contest.bean.manage.NotifyRecordVO;
  8. import com.gree.mall.contest.bean.manage.NotifyVO;
  9. import com.gree.mall.contest.bean.manage.UserTopPopVO;
  10. import com.gree.mall.contest.bean.merchant.WebsitApplyVO;
  11. import com.gree.mall.contest.bean.zfire.ZfireParamBean;
  12. import com.gree.mall.contest.plus.entity.UserTopPop;
  13. import org.apache.ibatis.annotations.Mapper;
  14. import org.apache.ibatis.annotations.Param;
  15. import java.util.List;
  16. @Mapper
  17. public interface CommonMapper {
  18. /**
  19. * 友情链接
  20. * @param page
  21. * @param zfireParamBean
  22. * @return
  23. */
  24. IPage<AmityUrlVO> amityList(Page page, @Param("ex") ZfireParamBean zfireParamBean);
  25. /**
  26. * 轮播图列表
  27. * @param page
  28. * @param zfireParamBean
  29. * @return
  30. */
  31. IPage<CarouselMapVO> carouselMapList(Page page, @Param("ex") ZfireParamBean zfireParamBean);
  32. /**
  33. * 通知公告列表
  34. * @param page
  35. * @param zfireParamBean
  36. * @return
  37. */
  38. IPage<NotifyVO> notifyList(Page page, @Param("ex") ZfireParamBean zfireParamBean);
  39. /**
  40. * 通知记录列表
  41. * @param page
  42. * @param zfireParamBean
  43. * @return
  44. */
  45. IPage<NotifyRecordVO> notifyReadList(Page page, @Param("ex") ZfireParamBean zfireParamBean);
  46. /**
  47. * 首页弹窗配置列表
  48. * @param page
  49. * @param zfireParamBean
  50. * @return
  51. */
  52. IPage<UserTopPopVO> topPopList(Page page, @Param("ex") ZfireParamBean zfireParamBean);
  53. List<UserTopPop> queryTopPopVaildRecord(@Param("curDate") DateTime curDate, @Param("popIds") List<String> popIds);
  54. /**
  55. * 申请列表
  56. *
  57. * @param page
  58. * @param zfireParamBean
  59. * @return
  60. */
  61. IPage<WebsitApplyVO> pageApply(Page page, @Param("ex") ZfireParamBean zfireParamBean);
  62. }