ILearnQuestionsService.java 1.2 KB

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