ExamReviewDao.java 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package com.keao.edu.user.dao;
  2. import com.keao.edu.common.dal.BaseDAO;
  3. import com.keao.edu.user.dto.ExamReviewDto;
  4. import com.keao.edu.user.dto.ExamReviewRecordDto;
  5. import com.keao.edu.user.entity.ExamReview;
  6. import org.apache.ibatis.annotations.Param;
  7. import java.util.List;
  8. import java.util.Map;
  9. public interface ExamReviewDao extends BaseDAO<Long, ExamReview> {
  10. /**
  11. * @describe 获取考试结果
  12. * @author Joburgess
  13. * @date 2020.06.24
  14. * @param params:
  15. * @return java.util.List<com.keao.edu.user.dto.ExamReviewDto>
  16. */
  17. List<ExamReviewDto> findExamResult(Map<String, Object> params);
  18. int countExamResult(Map<String, Object> params);
  19. /**
  20. * 监考页面评审列表查询
  21. * @param params
  22. * @return
  23. */
  24. int countExamReviewRecordList(Map<String, Object> params);
  25. /**
  26. * 监考页面评审列表查询
  27. * @param params
  28. * @return
  29. */
  30. List<ExamReviewRecordDto> queryExamReviewRecordList(Map<String, Object> params);
  31. ExamReview findByRegistrationId(@Param("examRegistrationId") Long examRegistrationId, @Param("teacherId") Integer teacherId);
  32. }