LearnExamineeMapper.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package com.ruoyi.learn.mapper;
  2. import java.util.Collection;
  3. import java.util.List;
  4. import com.alibaba.fastjson2.JSONObject;
  5. import com.ruoyi.learn.domain.LearnExaminee;
  6. import org.apache.ibatis.annotations.Param;
  7. /**
  8. * 答卷Mapper接口
  9. *
  10. * @author ruoyi
  11. * @date 2025-09-25
  12. */
  13. public interface LearnExamineeMapper
  14. {
  15. public List<JSONObject> selectSimulatedStats(@Param("teacherId") Long teacherId);
  16. public List<JSONObject> selectSimulatedStudentStats(@Param("classId") Long classId);
  17. public List<JSONObject> selectSimulatedStuSubjectStats(@Param("studentId") Long studentId);
  18. public List<JSONObject> selectExamRankingStats(@Param("studentId") Integer stuScore, @Param("paperIds") Collection<Long> paperIds);
  19. public List<JSONObject> selectStudentPractices(@Param("studentId") Long studentId);
  20. /**
  21. * 查询答卷
  22. *
  23. * @param examineeId 答卷主键
  24. * @return 答卷
  25. */
  26. public LearnExaminee selectLearnExamineeByExamineeId(Long examineeId);
  27. /**
  28. * 查询答卷列表
  29. *
  30. * @param learnExaminee 答卷
  31. * @return 答卷集合
  32. */
  33. public List<LearnExaminee> selectLearnExamineeList(LearnExaminee learnExaminee);
  34. /**
  35. * 新增答卷
  36. *
  37. * @param learnExaminee 答卷
  38. * @return 结果
  39. */
  40. public int insertLearnExaminee(LearnExaminee learnExaminee);
  41. /**
  42. * 修改答卷
  43. *
  44. * @param learnExaminee 答卷
  45. * @return 结果
  46. */
  47. public int updateLearnExaminee(LearnExaminee learnExaminee);
  48. /**
  49. * 删除答卷
  50. *
  51. * @param examineeId 答卷主键
  52. * @return 结果
  53. */
  54. public int deleteLearnExamineeByExamineeId(Long examineeId);
  55. /**
  56. * 批量删除答卷
  57. *
  58. * @param examineeIds 需要删除的数据主键集合
  59. * @return 结果
  60. */
  61. public int deleteLearnExamineeByExamineeIds(Long[] examineeIds);
  62. }