|
|
@@ -62,7 +62,6 @@ public class QuestionSimulateServiceImpl extends ServiceImpl<QuestionSimulateMap
|
|
|
param.put("bankId",bankId);
|
|
|
System.out.println(bankId);
|
|
|
ExamConfig vo = examConfigMapper.selectBankExamConfig(param);
|
|
|
- System.out.println(vo);
|
|
|
if(vo==null){
|
|
|
throw new CustomException("该题库暂不支持模拟考试");
|
|
|
}
|
|
|
@@ -142,6 +141,7 @@ public class QuestionSimulateServiceImpl extends ServiceImpl<QuestionSimulateMap
|
|
|
Map<String,Object> result = new HashMap<>();
|
|
|
result.put("simulateId",add.getSimulateId());
|
|
|
result.put("list",listToatl);
|
|
|
+ result.put("examTime",vo.getExamTime());
|
|
|
return result;
|
|
|
}
|
|
|
|