考试申请bug修改。

This commit is contained in:
Renpc-kilig 2021-05-10 15:10:46 +08:00
parent 77363e9610
commit 86a7549d0e
2 changed files with 3 additions and 2 deletions

View File

@ -139,7 +139,7 @@ public class ExamApplyServiceImpl extends DefaultBaseService implements IExamApp
} }
examApplyDao.update(params); examApplyDao.update(params);
// 如果受理通过则新增一条考场分配数据 // 如果受理通过则新增一条考场分配数据
if(2 == examApplyVO.getCheckStatus()) { if(1 == examApplyVO.getCheckStatus()) {
// 申请考场信息开始 // 申请考场信息开始
DistributionSaveVO dstributionSaveVO = new DistributionSaveVO(); DistributionSaveVO dstributionSaveVO = new DistributionSaveVO();
dstributionSaveVO.setPlanId(examApplyVO.getExamId()); dstributionSaveVO.setPlanId(examApplyVO.getExamId());

View File

@ -536,7 +536,8 @@
var theoryExamStartTime = new Date($('#theoryExamEndTime').val()).getTime(); var theoryExamStartTime = new Date($('#theoryExamEndTime').val()).getTime();
var theoryExamEndTime = new Date($('#theoryExamStartTime').val()).getTime(); var theoryExamEndTime = new Date($('#theoryExamStartTime').val()).getTime();
if(theoryExamEndTime >= theoryExamStartTime) { if(theoryExamEndTime >= theoryExamStartTime) {
layer.msg('理论考试结束时间不能早于等于开始时间'); top.dialog.msg('理论考试结束时间不能早于等于开始时间');
return false;
} }
/*var practiceExamStartTime = new Date($('#practiceExamEndTime').val()).getTime(); /*var practiceExamStartTime = new Date($('#practiceExamEndTime').val()).getTime();