IChannelService.java 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. package com.qs.mp.channel.service;
  2. import com.qs.mp.channel.domain.Channel;
  3. import com.qs.mp.channel.domain.vo.ChannelOperDataVO;
  4. import com.qs.mp.channel.domain.vo.ChannelVO;
  5. import java.util.List;
  6. import com.baomidou.mybatisplus.extension.service.IService;
  7. /**
  8. * <p>
  9. * 渠道经销商 服务类
  10. * </p>
  11. *
  12. * @author quanshu
  13. * @since 2022-03-02
  14. */
  15. public interface IChannelService extends IService<Channel> {
  16. /**
  17. * 新增子渠道信息
  18. *
  19. * @param channel
  20. * @return
  21. */
  22. public void saveChannel(Channel channel) throws Exception;
  23. /**
  24. * 新增经销商
  25. *
  26. * @param channel
  27. * @return
  28. */
  29. public void saveSite(Channel channel) throws Exception;
  30. /**
  31. * 编辑子渠道信息
  32. *
  33. * @param channel
  34. * @return
  35. */
  36. public void updateChannel(Channel channel) throws Exception;
  37. /**
  38. * 编辑经销商
  39. *
  40. * @param channel
  41. * @return
  42. */
  43. public void updateSite(Channel channel) throws Exception;
  44. /**
  45. * 获取我的下级渠道列表信息,支持翻页
  46. *
  47. * @param channel
  48. * @return
  49. */
  50. public List<ChannelVO> selectChannelVoList(Channel channel);
  51. /**
  52. * 获取我的经销商列表信息,支持翻页
  53. *
  54. * @param channel
  55. * @return
  56. */
  57. public List<ChannelVO> selectSiteVoList(Channel channel);
  58. /**
  59. * 根据用户ID查询渠道
  60. *
  61. * @param userId
  62. * @return
  63. */
  64. public Channel getChannelByUserId(Long userId);
  65. /**
  66. * 根据channelNo统计最近几天days的经营数据
  67. */
  68. public ChannelOperDataVO getChannelOperData(String channelNo, int days);
  69. }