소스 검색

fix 考试时间

he2802 4 년 전
부모
커밋
e685df364b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/service/impl/QuestionSimulateServiceImpl.java

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