IAppUserAgentService.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. package com.game.business.service;
  2. import java.rmi.ServerException;
  3. import java.util.List;
  4. import com.game.business.domain.AppUserAgent;
  5. import com.baomidou.mybatisplus.extension.service.IService;
  6. import com.game.business.dto.AppAgentEditDto;
  7. import com.game.business.dto.AppAgentTeamDto;
  8. import com.game.business.vo.AppAgentTeamVo;
  9. import com.game.common.core.domain.HttpRet;
  10. /**
  11. * 用户代理表Service接口
  12. *
  13. * @author game
  14. * @date 2024-06-25
  15. */
  16. public interface IAppUserAgentService extends IService<AppUserAgent> {
  17. /**
  18. * 查询用户代理表
  19. *
  20. * @param id 用户代理表主键
  21. * @return 用户代理表
  22. */
  23. public AppUserAgent selectAppUserAgentById(Long id);
  24. /**
  25. * 查询用户代理表列表
  26. *
  27. * @param appUserAgent 用户代理表
  28. * @return 用户代理表集合
  29. */
  30. public List<AppUserAgent> selectAppUserAgentList(AppUserAgent appUserAgent);
  31. /**
  32. * 新增用户代理表
  33. *
  34. * @param appUserAgent 用户代理表
  35. * @return 结果
  36. */
  37. public int insertAppUserAgent(AppUserAgent appUserAgent);
  38. /**
  39. * 修改用户代理表
  40. *
  41. * @param appUserAgent 用户代理表
  42. * @return 结果
  43. */
  44. public int updateAppUserAgent(AppUserAgent appUserAgent);
  45. /**
  46. * 批量删除用户代理表
  47. *
  48. * @param ids 需要删除的用户代理表主键集合
  49. * @return 结果
  50. */
  51. public int deleteAppUserAgentByIds(Long[] ids);
  52. /**
  53. * 删除用户代理表信息
  54. *
  55. * @param id 用户代理表主键
  56. * @return 结果
  57. */
  58. public int deleteAppUserAgentById(Long id);
  59. /**
  60. * 统计用户代理
  61. *
  62. * */
  63. public int countAgent(Long userId,String beginTime,String endTime);
  64. /**
  65. * 统计用户团队投注金额
  66. * */
  67. public Double sumBetting(String beginTime,String endTime,Long pid);
  68. /**
  69. * 修改代理设置
  70. * */
  71. public HttpRet<Boolean> updateSetting(AppAgentEditDto editDto);
  72. /**
  73. * 团队列表
  74. * */
  75. public List<AppAgentTeamVo> teamList(AppAgentTeamDto teamDto);
  76. }