|
|
@ -311,4 +311,60 @@ public class ObjectiveApi {
|
|
|
|
List<SysObjectiveQuestions> sysObjectiveQuestions = sysObjectiveQuestionMapper.selectByExample(example);
|
|
|
|
List<SysObjectiveQuestions> sysObjectiveQuestions = sysObjectiveQuestionMapper.selectByExample(example);
|
|
|
|
return sysObjectiveQuestions;
|
|
|
|
return sysObjectiveQuestions;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 根据章节ID 随机获取十道 内置 题目
|
|
|
|
|
|
|
|
* 方法名:selectRandomObjectiveByChapterId
|
|
|
|
|
|
|
|
* 参数:chapterId
|
|
|
|
|
|
|
|
* return:List<SysObjectiveQuestions>
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 根据章节ID 查询所有 内置 题目
|
|
|
|
|
|
|
|
* 方法名:selectObjectQuestionListByChapterId
|
|
|
|
|
|
|
|
* 参数:chapterId
|
|
|
|
|
|
|
|
* return:List<SysObjectiveQuestions>
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 随机获取35道 内置 单选题
|
|
|
|
|
|
|
|
* 方法名:selectRandomObjectiveSingle
|
|
|
|
|
|
|
|
* 参数:systemOwner
|
|
|
|
|
|
|
|
* return:List<SysObjectiveQuestions>
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 随机获取5道 内置 多选题
|
|
|
|
|
|
|
|
* 方法名:selectRandomObjectiveSingle
|
|
|
|
|
|
|
|
* 参数:systemOwner
|
|
|
|
|
|
|
|
* return:List<SysObjectiveQuestions>
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 随机获取10道 内置 判断题
|
|
|
|
|
|
|
|
* 方法名:selectRandomObjectiveJudge
|
|
|
|
|
|
|
|
* 参数:systemOwner
|
|
|
|
|
|
|
|
* return:List<SysObjectiveQuestions>
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 获取客观题库单选题数量
|
|
|
|
|
|
|
|
* 方法名:selectCountSingle
|
|
|
|
|
|
|
|
* 参数:schoolId systemOwner
|
|
|
|
|
|
|
|
* return:Integer
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 获取客观题库多选题数量
|
|
|
|
|
|
|
|
* 方法名:selectCountMany
|
|
|
|
|
|
|
|
* 参数:schoolId systemOwner
|
|
|
|
|
|
|
|
* return:Integer
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 获取客观题库判断数量
|
|
|
|
|
|
|
|
* 方法名:selectCountJudge
|
|
|
|
|
|
|
|
* 参数:schoolId systemOwner
|
|
|
|
|
|
|
|
* return:Integer
|
|
|
|
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
}
|
|
|
|