| | |
| | | */ |
| | | List<Question> getAnswerInfo(@Param("questionIds") List<Integer> questionIds); |
| | | |
| | | List<RandomQuestionDTO> selectBySubject(@Param("subjectId") Integer subjectId, @Param("types") List<Integer> types); |
| | | Integer selectByDifAndSub(RandomQuestionDTO dto); |
| | | |
| | | /** |
| | | * 获取随机题 |
| | |
| | | * @param num 数量 |
| | | * @return |
| | | */ |
| | | List<Question> getRandomQuestion(@Param("subjectId") Integer subjectId, @Param("questionType") Integer questionType, @Param("num") Integer num); |
| | | List<Question> getRandomQuestion(@Param("subjectId") Integer subjectId, @Param("questionType") Integer questionType,@Param("difficult") Integer difficult, @Param("num") Integer num); |
| | | } |