LearnTestPaperMapper.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.ruoyi.learn.mapper;
  2. import java.util.Collection;
  3. import java.util.List;
  4. import com.ruoyi.learn.domain.LearnTestPaper;
  5. import org.apache.ibatis.annotations.Param;
  6. /**
  7. * 批次测试卷Mapper接口
  8. *
  9. * @author ruoyi
  10. * @date 2025-09-18
  11. */
  12. public interface LearnTestPaperMapper
  13. {
  14. public List<LearnTestPaper> selectByBatchAndUniversityIds(@Param("buildType") String buildType, @Param("batchId") Integer batchId, @Param("subjectId") Long subjectId, @Param("universityIds") Collection<Long> universityIds);
  15. /**
  16. * 查询批次测试卷
  17. *
  18. * @param id 批次测试卷主键
  19. * @return 批次测试卷
  20. */
  21. public LearnTestPaper selectLearnTestPaperById(String id);
  22. /**
  23. * 查询批次测试卷列表
  24. *
  25. * @param learnTestPaper 批次测试卷
  26. * @return 批次测试卷集合
  27. */
  28. public List<LearnTestPaper> selectLearnTestPaperList(LearnTestPaper learnTestPaper);
  29. /**
  30. * 新增批次测试卷
  31. *
  32. * @param learnTestPaper 批次测试卷
  33. * @return 结果
  34. */
  35. public int insertLearnTestPaper(LearnTestPaper learnTestPaper);
  36. /**
  37. * 修改批次测试卷
  38. *
  39. * @param learnTestPaper 批次测试卷
  40. * @return 结果
  41. */
  42. public int updateLearnTestPaper(LearnTestPaper learnTestPaper);
  43. /**
  44. * 删除批次测试卷
  45. *
  46. * @param id 批次测试卷主键
  47. * @return 结果
  48. */
  49. public int deleteLearnTestPaperById(String id);
  50. /**
  51. * 批量删除批次测试卷
  52. *
  53. * @param ids 需要删除的数据主键集合
  54. * @return 结果
  55. */
  56. public int deleteLearnTestPaperByIds(String[] ids);
  57. }