| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- package nju.seec.helper.service;
- import nju.seec.helper.dto.quiz.QuizStudentAnswerDTO;
- import nju.seec.helper.dto.user.LoginUser;
- import nju.seec.helper.vo.quiz.QuizStudentAnswerVO;
- import org.springframework.data.domain.Page;
- import org.springframework.data.domain.Pageable;
- /**
- * @author cst
- */
- public interface QuizStudentAnswerService {
- /**
- * 提交测试作答
- *
- * @param user
- * @param quizStudentAnswerDTO
- * @return
- */
- QuizStudentAnswerVO submitQuizStudentAnswer(LoginUser user, QuizStudentAnswerDTO quizStudentAnswerDTO);
- /**
- * 老师查看学生答案列表
- *
- * @param user
- * @param quizId
- * @param pageable
- * @return
- */
- Page<QuizStudentAnswerVO> teacherGetQuizStudentAnswers(LoginUser user, Long quizId, Pageable pageable);
- /**
- * 学生查看自己的答案
- *
- * @param user
- * @param quizId
- * @return
- */
- QuizStudentAnswerVO studentGetSelfQuizStudentAnswer(LoginUser user, Long quizId);
- }
|