修改返回考试题目数量接口

master
xiaoCJ
parent ef7df4d9fc
commit bcb45ba833

@ -664,13 +664,11 @@ public class TheoryTestServiceImpl implements TheoryTestService {
objectiveQuestionList1 = objectiveQuestionMapper.getObjectiveByRandom(0, 35, "普通题库", null, schoolId); //单选
objectiveQuestionList2 = objectiveQuestionMapper.getObjectiveByRandom(1, 5, "普通题库", null, schoolId); //多选
objectiveQuestionList3 = objectiveQuestionMapper.getObjectiveByRandom(2, 10, "普通题库", null, schoolId); //判断
}
if (source.equals("理论知识")) {
} else if (source.equals("理论知识")) {
objectiveQuestionList1 = objectiveQuestionMapper.getObjectiveByRandom(0, 60, "金融智能", source, schoolId); //单选
objectiveQuestionList2 = objectiveQuestionMapper.getObjectiveByRandom(1, 30, "金融智能", source, schoolId); //多选
objectiveQuestionList3 = objectiveQuestionMapper.getObjectiveByRandom(2, 10, "金融智能", source, schoolId); //判断
}
if (source.equals("专业能力")) {
} else if (source.equals("专业能力")) {
objectiveQuestionList1 = objectiveQuestionMapper.getObjectiveByRandom(0, 100, "金融智能", source, schoolId); //单选
} else {
objectiveQuestionList1 = objectiveQuestionMapper.getObjectiveByRandom(0, 90, "银行从业", source, schoolId); //单选

Loading…
Cancel
Save