Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 

88 строки
1.9 KiB

  1. package com.simple.service;
  2. import com.github.pagehelper.PageInfo;
  3. import com.simple.common.ResultData;
  4. import com.simple.domain.dto.WxCUserBasicInfoDto;
  5. import com.simple.domain.po.WxCUserBasicInfo;
  6. import org.springframework.web.multipart.MultipartFile;
  7. import javax.servlet.http.HttpServletRequest;
  8. import javax.servlet.http.HttpServletResponse;
  9. import java.util.List;
  10. public interface WxCUserBasicInfoService {
  11. /**
  12. * 根据实体查询分页列表
  13. *
  14. * @param record
  15. * @param pageIndex
  16. * @param pageSize
  17. * @return
  18. */
  19. PageInfo<WxCUserBasicInfo> listAsPage(WxCUserBasicInfo record, Integer pageIndex, Integer pageSize);
  20. /**
  21. * 根据Id获得实体
  22. *
  23. * @param id
  24. * @return
  25. */
  26. WxCUserBasicInfo getById(Long id);
  27. /**
  28. * 保存或更新实体
  29. *
  30. * @param record
  31. */
  32. void saveOrUpdate(WxCUserBasicInfo record);
  33. /**
  34. * 保存或更新实体
  35. *
  36. * @param record
  37. */
  38. void updateObj(WxCUserBasicInfo record, Long newId);
  39. /**
  40. * 根据Id删除实体
  41. *
  42. * @param id
  43. */
  44. void deleteById(Long id);
  45. List<WxCUserBasicInfo> findByPhone(String tenantId, String phone);
  46. /**
  47. * 修改会员积分
  48. *
  49. * @param record
  50. */
  51. void updateScore(WxCUserBasicInfo record);
  52. /**
  53. * 根据性别查询数量
  54. *
  55. * @param dto
  56. * @return
  57. */
  58. long findCountBySex(WxCUserBasicInfoDto dto);
  59. /**
  60. * 根据年龄查询数量
  61. *
  62. * @param dto
  63. * @return
  64. */
  65. long findCountByAge(WxCUserBasicInfoDto dto);
  66. void exportData(HttpServletRequest request, HttpServletResponse response, String tenantId);
  67. void exportTemplate(HttpServletRequest request, HttpServletResponse response, String tenantId);
  68. ResultData importTemplate(MultipartFile file, String tenantId);
  69. long findCount(WxCUserBasicInfoDto dto);
  70. }