UserArchivesService.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package com.goafanti.customer.service;
  2. import com.goafanti.common.model.UserArchives;
  3. import com.goafanti.customer.bo.InputSelectUserArchives;
  4. /**
  5. * 客户档案表(UserArchives)表服务接口
  6. *
  7. * @author makejava
  8. * @since 2024-07-12 11:52:01
  9. */
  10. public interface UserArchivesService {
  11. /**
  12. * 通过ID查询单条数据
  13. *
  14. * @param id 主键
  15. * @return 实例对象
  16. */
  17. UserArchives queryById(Integer id);
  18. /**
  19. * 新增数据
  20. *
  21. * @param userArchives 实例对象
  22. * @return 实例对象
  23. */
  24. UserArchives insert(UserArchives userArchives);
  25. /**
  26. * 修改数据
  27. *
  28. * @param userArchives 实例对象
  29. * @return 实例对象
  30. */
  31. UserArchives update(UserArchives userArchives,Integer channelType);
  32. /**
  33. * 通过主键删除数据
  34. *
  35. * @param id 主键
  36. * @return 是否成功
  37. */
  38. boolean deleteById(Integer id);
  39. Object list(UserArchives in, Integer pageNo, Integer pageSize);
  40. Object queryByUid(String id);
  41. Object queryByUidAll(String id);
  42. boolean checkPermission(String id);
  43. Object selectUserArchives(InputSelectUserArchives in);
  44. Object addAwards(String uid,Integer status);
  45. Object updateAwards(String uid,Integer status);
  46. }