LearnPaperMapper.java 1.1 KB

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