You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

63 lines
1.2 KiB

  1. package com.simple.service;
  2. import com.github.pagehelper.PageInfo;
  3. import com.simple.common.ResultData;
  4. import com.simple.domain.po.WxMerchantBUser;
  5. public interface WxMerchantBUserService {
  6. /**
  7. * 根据实体查询分页列表
  8. *
  9. * @param record
  10. * @param pageIndex
  11. * @param pageSize
  12. * @return
  13. */
  14. PageInfo<WxMerchantBUser> listAsPage(WxMerchantBUser record, Integer pageIndex, Integer pageSize);
  15. /**
  16. * 根据Id获得实体
  17. *
  18. * @param id
  19. * @return
  20. */
  21. WxMerchantBUser getById(Long id);
  22. /**
  23. * 根据token获得实体
  24. *
  25. * @param token
  26. * @return
  27. */
  28. WxMerchantBUser getByToken(String token);
  29. /**
  30. * 根据appId,phone获得实体
  31. *
  32. * @param record
  33. * @return
  34. */
  35. WxMerchantBUser getBUserByAppId(WxMerchantBUser record);
  36. /**
  37. * 保存或更新实体
  38. *
  39. * @param record
  40. */
  41. Long saveOrUpdate(WxMerchantBUser record);
  42. /**
  43. * 根据Id删除实体
  44. *
  45. * @param id
  46. */
  47. void deleteById(Long id);
  48. boolean hasphone(String phone);
  49. ResultData updatepwd(String appId, String phone, String code, String pwd);
  50. }