CourseChangeMapper.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. package com.ruoyi.system.mapper;
  2. import java.util.List;
  3. import com.ruoyi.system.domain.CourseChange;
  4. import org.apache.ibatis.annotations.Param;
  5. /**
  6. * 调课Mapper接口
  7. *
  8. * @author ruoyi
  9. * @date 2023-06-02
  10. */
  11. public interface CourseChangeMapper
  12. {
  13. /**
  14. * 查询调课
  15. *
  16. * @param id 调课主键
  17. * @return 调课
  18. */
  19. public CourseChange selectCourseChangeById(Long id);
  20. /**
  21. * 查询调课列表
  22. *
  23. * @param courseChange 调课
  24. * @return 调课集合
  25. */
  26. public List<CourseChange> selectCourseChangeList(CourseChange courseChange);
  27. /**
  28. * 新增调课
  29. *
  30. * @param courseChange 调课
  31. * @return 结果
  32. */
  33. public int insertCourseChange(CourseChange courseChange);
  34. /**
  35. * 修改调课
  36. *
  37. * @param courseChange 调课
  38. * @return 结果
  39. */
  40. public int updateCourseChange(CourseChange courseChange);
  41. /**
  42. * 删除调课
  43. *
  44. * @param id 调课主键
  45. * @return 结果
  46. */
  47. public int deleteCourseChangeById(Long id);
  48. /**
  49. * 批量删除调课
  50. *
  51. * @param ids 需要删除的数据主键集合
  52. * @return 结果
  53. */
  54. public int deleteCourseChangeByIds(Long[] ids);
  55. List<CourseChange> selectCourseChangeListByTime(@Param("monthFirst") String monthFirst, @Param("userId")Long userId, @Param("deptId")Long deptId);
  56. }