IChannelCommissionService.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. package com.qs.mp.channel.service;
  2. import com.baomidou.mybatisplus.core.conditions.Wrapper;
  3. import com.baomidou.mybatisplus.core.toolkit.Constants;
  4. import com.qs.mp.channel.domain.ChannelCommission;
  5. import com.baomidou.mybatisplus.extension.service.IService;
  6. import java.util.Date;
  7. import java.util.List;
  8. import org.apache.ibatis.annotations.Param;
  9. /**
  10. * <p>
  11. * 渠道佣金记录 服务类
  12. * </p>
  13. *
  14. * @author quanshu
  15. * @since 2022-03-02
  16. */
  17. public interface IChannelCommissionService extends IService<ChannelCommission> {
  18. /**
  19. * 查询子渠道一定时间范围内的佣金金额 -
  20. * @param channelNo
  21. * @param days
  22. * @return
  23. */
  24. public int getChannelCommAmtCnt(String channelNo, int days);
  25. /**
  26. * 查询子渠道一定时间范围内的销售金额
  27. * @param channelNo
  28. * @param days
  29. * @return
  30. */
  31. public int getChannelSaleAmtCnt(String channelNo, int days);
  32. /**
  33. * 查询子渠道全部佣金金额 -
  34. * @param channelNo
  35. * @return
  36. */
  37. public int getChannelTotalCommAmtCnt(String channelNo);
  38. /**
  39. * 查询子渠道全部的销售金额
  40. * @param channelNo
  41. * @return
  42. */
  43. public int getChannelTotalSaleAmtCnt(String channelNo);
  44. /**
  45. * 查询渠道列表
  46. * @param wrapper
  47. * @return
  48. */
  49. List<ChannelCommission> getChannelList(Wrapper<ChannelCommission> wrapper);
  50. /**
  51. * 渠道佣金收入汇总入账
  52. * @param channelId
  53. */
  54. void commEntry(Long channelId, Date bizDay);
  55. }