123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- package com.qs.mp.channel.service;
- import com.qs.mp.channel.domain.Channel;
- import com.qs.mp.channel.domain.vo.ChannelOperDataVO;
- import com.qs.mp.channel.domain.vo.ChannelVO;
- import java.util.List;
- import com.baomidou.mybatisplus.extension.service.IService;
- /**
- * <p>
- * 渠道经销商 服务类
- * </p>
- *
- * @author quanshu
- * @since 2022-03-02
- */
- public interface IChannelService extends IService<Channel> {
-
-
- /**
- * 新增子渠道信息
- *
- * @param channel
- * @return
- */
- public void saveChannel(Channel channel) throws Exception;
-
- /**
- * 新增经销商
- *
- * @param channel
- * @return
- */
- public void saveSite(Channel channel) throws Exception;
-
-
- /**
- * 编辑子渠道信息
- *
- * @param channel
- * @return
- */
- public void updateChannel(Channel channel) throws Exception;
-
-
- /**
- * 编辑经销商
- *
- * @param channel
- * @return
- */
- public void updateSite(Channel channel) throws Exception;
-
-
- /**
- * 获取我的下级渠道列表信息,支持翻页
- *
- * @param channel
- * @return
- */
- public List<ChannelVO> selectChannelVoList(Channel channel);
-
- /**
- * 获取我的经销商列表信息,支持翻页
- *
- * @param channel
- * @return
- */
- public List<ChannelVO> selectSiteVoList(Channel channel);
- /**
- * 根据用户ID查询渠道
- *
- * @param userId
- * @return
- */
- public Channel getChannelByUserId(Long userId);
-
-
- /**
- * 根据channelNo统计最近几天days的经营数据
- */
- public ChannelOperDataVO getChannelOperData(String channelNo, int days);
- }
|