Browse Source

fix 考试时间

he2802 4 năm trước cách đây
mục cha
commit
e685df364b

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/service/impl/QuestionSimulateServiceImpl.java

@@ -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;
     }