IKuaishouPromoterService.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. package com.ruixuan.isc.service;
  2. import com.alibaba.fastjson.JSONObject;
  3. import com.ruixuan.common.core.domain.AjaxResult;
  4. import com.ruixuan.common.utils.Result;
  5. import com.ruixuan.isc.entity.KuaishouPromoter;
  6. import java.util.List;
  7. /**
  8. * 快手达人 信息Service接口
  9. *
  10. * @author ruoyi
  11. * @date 2023-02-03
  12. */
  13. public interface IKuaishouPromoterService {
  14. /**
  15. * 查询快手达人 信息
  16. *
  17. * @param id 快手达人 信息主键
  18. * @return 快手达人 信息
  19. */
  20. public JSONObject selectKuaishouPromoterById(Long id);
  21. /**
  22. * 查询快手达人 信息列表
  23. *
  24. * @param kuaishouPromoter 快手达人 信息
  25. * @return 快手达人 信息集合
  26. */
  27. public List<KuaishouPromoter> selectKuaishouPromoterList(Long userId, String promoterId, String promoterNickName, String mediaId, String parameter, String orderBy);
  28. /**
  29. * 新增快手达人 信息
  30. *
  31. * @param kuaishouPromoter 快手达人 信息
  32. * @return 结果
  33. */
  34. public JSONObject insertKuaishouPromoter(KuaishouPromoter kuaishouPromoter);
  35. /**
  36. * 修改快手达人 信息
  37. *
  38. * @param kuaishouPromoter 快手达人 信息
  39. * @return 结果
  40. */
  41. public int updateKuaishouPromoter(KuaishouPromoter kuaishouPromoter);
  42. /**
  43. * 删除快手达人 信息信息
  44. *
  45. * @param id 快手达人 信息主键
  46. * @return 结果
  47. */
  48. public Result deleteKuaishouPromoterById(Long id, Long userId);
  49. AjaxResult getPromoterInfo(String promoterId);
  50. KuaishouPromoter getOnlyPromoterInfo(String promoterId);
  51. List<String> selectPromoterIdList(List<Long> userList, String mediaId);
  52. JSONObject getgetMonthPromoterTotal(List<Long> userList, String start, String end, String mediaId);
  53. List<JSONObject> selectKuaishouPromoterList2(Long userId, String promoterId, String promoterNickName, String status, String parameter, String orderBy);
  54. Result supplementInfo();
  55. int addFollowUpRecords(JSONObject result);
  56. Result updatePromoterLabel(JSONObject result);
  57. void updateFollowUpRecords(JSONObject result);
  58. Result getGongHaiVideoSales(String promoterId);
  59. KuaishouPromoter getOnlyPromoterInfoByUserId(String promoterId, Long userId);
  60. JSONObject addPromotersCount(Long userId, Long promotersCount, String mediaId);
  61. String getRuleName(Long ruleId);
  62. int addRule(String promoterId, Long ruleId, String ruleName);
  63. }