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

87 строки
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. import java.util.Map;
  11. public interface WxCUserBasicInfoService {
  12. /**
  13. * 根据实体查询分页列表
  14. *
  15. * @param record
  16. * @param pageIndex
  17. * @param pageSize
  18. * @return
  19. */
  20. PageInfo<WxCUserBasicInfo> listAsPage(WxCUserBasicInfo record, Integer pageIndex, Integer pageSize);
  21. /**
  22. * 根据Id获得实体
  23. *
  24. * @param id
  25. * @return
  26. */
  27. WxCUserBasicInfo getById(Long id);
  28. /**
  29. * 保存或更新实体
  30. *
  31. * @param record
  32. */
  33. void saveOrUpdate(WxCUserBasicInfo record);
  34. /**
  35. * 保存或更新实体
  36. *
  37. * @param record
  38. */
  39. void updateObj(WxCUserBasicInfo record, Long newId);
  40. /**
  41. * 根据Id删除实体
  42. *
  43. * @param id
  44. */
  45. void deleteById(Long id);
  46. List<WxCUserBasicInfo> findByPhone(String tenantId, String phone);
  47. /**
  48. * 修改会员积分
  49. *
  50. * @param record
  51. */
  52. void updateScore(WxCUserBasicInfo record);
  53. /**
  54. * 根据性别查询数量
  55. *
  56. * @param dto
  57. * @return
  58. */
  59. long findCountBySex(WxCUserBasicInfoDto dto);
  60. /**
  61. * 根据年龄查询数量
  62. *
  63. * @param dto
  64. * @return
  65. */
  66. long findCountByAge(WxCUserBasicInfoDto dto);
  67. void exportData(HttpServletRequest request, HttpServletResponse response, String tenantId);
  68. void exportTemplate(HttpServletRequest request, HttpServletResponse response, String tenantId);
  69. ResultData importTemplate(MultipartFile file, String tenantId);
  70. }