Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

88 wiersze
1.7 KiB

  1. package com.iformall.service;
  2. import com.github.pagehelper.PageInfo;
  3. import com.iformall.domain.dto.WxCUserBasicInfoDto;
  4. import com.iformall.domain.po.WxAuthorizerInfo;
  5. import com.iformall.domain.po.WxCUser;
  6. import me.chanjar.weixin.mp.bean.result.WxMpUser;
  7. public interface WxCUserService {
  8. /**
  9. * 根据实体查询分页列表
  10. *
  11. * @param record
  12. * @param pageIndex
  13. * @param pageSize
  14. * @return
  15. */
  16. PageInfo<WxCUser> listAsPage(WxCUser record, Integer pageIndex, Integer pageSize);
  17. /**
  18. * 根据Id获得实体
  19. *
  20. * @param id
  21. * @return
  22. */
  23. WxCUser getById(Long id);
  24. /**
  25. * 根据openId获得实体
  26. *
  27. * @param record
  28. * @return
  29. */
  30. WxCUser getByOpenId(WxCUser record);
  31. /**
  32. * 根据object获得实体
  33. *
  34. * @param record
  35. * @return
  36. */
  37. WxCUser getByObject(WxCUser record);
  38. /**
  39. * 保存或更新实体
  40. *
  41. * @param record
  42. */
  43. int saveOrUpdate(WxCUser record);
  44. /**
  45. * 保存或更新实体
  46. *
  47. * @param mpUser
  48. * @param authorizerInfo
  49. */
  50. int saveOrUpdateMpUser(WxMpUser mpUser, WxAuthorizerInfo authorizerInfo);
  51. /**
  52. >>>>>>> refs/tags/jenkins-back_end_wechat-98
  53. * 根据Id删除实体
  54. *
  55. * @param id
  56. */
  57. void deleteById(Long id);
  58. /**
  59. * 统计数量
  60. * @param dto
  61. * @return
  62. */
  63. long findCount(WxCUserBasicInfoDto dto);
  64. /**
  65. * 通过渠道获取会员信息
  66. * @param user
  67. * @param pageIndex
  68. * @param pageSize
  69. * @return
  70. */
  71. PageInfo<WxCUser> listByChannel(WxCUser user, Integer pageIndex, Integer pageSize);
  72. long countByChannel(WxCUser user);
  73. }