src/main/java/com/mindskip/xzs/repository/QuestionSubjectMapper.java
@@ -45,4 +45,13 @@ /** 根据课目和题型查询题目ID */ List<Integer> questionsBySubjectIdAndQuestionType(@Param("subjectId") Integer subjectId, @Param("questionType") Integer questionType); /** 根据课目ID查询题目详情 */ List<QuestionVO> bySubjectId(@Param("subjectId") Integer subjectId); /** 根据课目和题型查找题目数据 */ List<QuestionVO> bySubjectIdAndQuestionType(Integer subjectId, Integer dataBaseValueByValue); /** 根据科目查询题目 **/ List<QuestionSubject> getSubjectBySubjectIds(Integer[] subjectIds); }