LearnTestStudentMapper.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.ruoyi.learn.mapper;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.ruoyi.learn.domain.LearnTestStudent;
  5. /**
  6. * 测试学生Mapper接口
  7. *
  8. * @author ruoyi
  9. * @date 2025-09-18
  10. */
  11. public interface LearnTestStudentMapper
  12. {
  13. List<LearnTestStudent> selectStatsForStudent(Long studentId);
  14. /**
  15. * 查询测试学生
  16. *
  17. * @param id 测试学生主键
  18. * @return 测试学生
  19. */
  20. public LearnTestStudent selectLearnTestStudentById(String id);
  21. /**
  22. * 查询测试学生列表
  23. *
  24. * @param learnTestStudent 测试学生
  25. * @return 测试学生集合
  26. */
  27. public List<LearnTestStudent> selectLearnTestStudentList(LearnTestStudent learnTestStudent);
  28. /**
  29. * 新增测试学生
  30. *
  31. * @param learnTestStudent 测试学生
  32. * @return 结果
  33. */
  34. public int insertLearnTestStudent(LearnTestStudent learnTestStudent);
  35. /**
  36. * 修改测试学生
  37. *
  38. * @param learnTestStudent 测试学生
  39. * @return 结果
  40. */
  41. public int updateLearnTestStudent(LearnTestStudent learnTestStudent);
  42. /**
  43. * 删除测试学生
  44. *
  45. * @param id 测试学生主键
  46. * @return 结果
  47. */
  48. public int deleteLearnTestStudentById(String id);
  49. /**
  50. * 批量删除测试学生
  51. *
  52. * @param ids 需要删除的数据主键集合
  53. * @return 结果
  54. */
  55. public int deleteLearnTestStudentByIds(String[] ids);
  56. }