DzSchoolMapper.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package com.ruoyi.dz.mapper;
  2. import java.util.List;
  3. import com.ruoyi.dz.domain.DzSchool;
  4. /**
  5. * 机构校区Mapper接口
  6. *
  7. * @author ruoyi
  8. * @date 2025-09-12
  9. */
  10. public interface DzSchoolMapper
  11. {
  12. /**
  13. * 查询机构校区
  14. *
  15. * @param id 机构校区主键
  16. * @return 机构校区
  17. */
  18. public DzSchool selectDzSchoolById(Long id);
  19. /**
  20. * 查询机构校区列表
  21. *
  22. * @param dzSchool 机构校区
  23. * @return 机构校区集合
  24. */
  25. public List<DzSchool> selectDzSchoolList(DzSchool dzSchool);
  26. public List<DzSchool> selectDzSchoolListByIds(List<Long> schoolIds);
  27. /**
  28. * 新增机构校区
  29. *
  30. * @param dzSchool 机构校区
  31. * @return 结果
  32. */
  33. public int insertDzSchool(DzSchool dzSchool);
  34. /**
  35. * 修改机构校区
  36. *
  37. * @param dzSchool 机构校区
  38. * @return 结果
  39. */
  40. public int updateDzSchool(DzSchool dzSchool);
  41. /**
  42. * 删除机构校区
  43. *
  44. * @param id 机构校区主键
  45. * @return 结果
  46. */
  47. public int deleteDzSchoolById(Long id);
  48. /**
  49. * 批量删除机构校区
  50. *
  51. * @param ids 需要删除的数据主键集合
  52. * @return 结果
  53. */
  54. public int deleteDzSchoolByIds(Long[] ids);
  55. }