ParentMapper.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package com.schoolinout.system.mapper;
  2. import com.schoolinout.system.domain.Parent;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import java.util.List;
  5. /**
  6. * 家长管理Mapper接口
  7. *
  8. * @author sakura
  9. * @date 2024-01-09
  10. */
  11. @Mapper
  12. public interface ParentMapper {
  13. /**
  14. * 查询家长管理
  15. *
  16. * @param id 家长管理主键
  17. * @return 家长管理
  18. */
  19. public Parent selectParentById(Long id);
  20. /**
  21. * 查询家长管理列表
  22. *
  23. * @param parent 家长管理
  24. * @return 家长管理集合
  25. */
  26. public List<Parent> selectParentList(Parent parent);
  27. /**
  28. * 新增家长管理
  29. *
  30. * @param parent 家长管理
  31. * @return 结果
  32. */
  33. public int insertParent(Parent parent);
  34. /**
  35. * 修改家长管理
  36. *
  37. * @param parent 家长管理
  38. * @return 结果
  39. */
  40. public int updateParent(Parent parent);
  41. /**
  42. * 删除家长管理
  43. *
  44. * @param id 家长管理主键
  45. * @return 结果
  46. */
  47. public int deleteParentById(Long id);
  48. /**
  49. * 批量删除家长管理
  50. *
  51. * @param ids 需要删除的数据主键集合
  52. * @return 结果
  53. */
  54. public int deleteParentByIds(Long[] ids);
  55. }