|
|
@ -63,12 +63,20 @@ public interface ExamPaperMapper extends BaseMapper<ExamPapers> { |
|
|
|
* |
|
|
|
* |
|
|
|
* @param industryId 监管行业 |
|
|
|
* @param industryId 监管行业 |
|
|
|
* @param questionCount 题目数量 |
|
|
|
* @param questionCount 题目数量 |
|
|
|
* @return 题目 |
|
|
|
* @return 试题 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
List<QuestionCategories> getRandomQuestions( |
|
|
|
List<QuestionCategories> getRandomQuestions( |
|
|
|
@Param("industryId") Long industryId, |
|
|
|
@Param("industryId") Long industryId, |
|
|
|
@Param("questionCount") Integer questionCount); |
|
|
|
@Param("questionCount") Integer questionCount); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 获取监管行业下的所有试题 |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param industryId 监管行业 |
|
|
|
|
|
|
|
* @return 试题 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
int geIndustryQuestions( @Param("industryId") Long industryId); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 查询试卷是否被引用 |
|
|
|
* 查询试卷是否被引用 |
|
|
|
* |
|
|
|
* |
|
|
|