PromoChannelService.java 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package com.zanxiang.manage.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.zanxiang.manage.domain.dto.PromoChannelDTO;
  4. import com.zanxiang.manage.domain.vo.PromoChannelChoiceVO;
  5. import com.zanxiang.mybatis.entity.PromoChannel;
  6. import java.util.List;
  7. import java.util.Map;
  8. /**
  9. * @author : lingfeng
  10. * @time : 2022-10-31
  11. * @description : 推广渠道
  12. */
  13. public interface PromoChannelService extends IService<PromoChannel> {
  14. /**
  15. * 注册渠道选择列表查询
  16. *
  17. * @return : 返回所有注册渠道信息
  18. */
  19. List<PromoChannelChoiceVO> promoChannelChoiceList();
  20. /**
  21. * 注册渠道信息
  22. *
  23. * @return : 返回所有渠道信息
  24. */
  25. Map<Long, PromoChannelDTO> promoChannelMap();
  26. /**
  27. * 注册渠道信息
  28. *
  29. * @return : 返回所有渠道信息
  30. */
  31. Map<Long, PromoChannelDTO> promoChannelMap(List<Long> agentIdList);
  32. /**
  33. * 通过帐户或投手id列表
  34. *
  35. * @param account 账户
  36. * @param pitcherId 投手id
  37. * @return {@link List}<{@link Long}>
  38. */
  39. List<Long> listByAccountOrPitcherId(String account, String pitcherId);
  40. }