diff --git a/src/main/java/cn/com/tenlion/service/examapply/impl/ExamApplyServiceImpl.java b/src/main/java/cn/com/tenlion/service/examapply/impl/ExamApplyServiceImpl.java index 7391920..0fa3184 100644 --- a/src/main/java/cn/com/tenlion/service/examapply/impl/ExamApplyServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/examapply/impl/ExamApplyServiceImpl.java @@ -139,7 +139,7 @@ public class ExamApplyServiceImpl extends DefaultBaseService implements IExamApp } examApplyDao.update(params); // 如果受理通过,则新增一条考场分配数据 - if(2 == examApplyVO.getCheckStatus()) { + if(1 == examApplyVO.getCheckStatus()) { // 申请考场信息开始 DistributionSaveVO dstributionSaveVO = new DistributionSaveVO(); dstributionSaveVO.setPlanId(examApplyVO.getExamId()); diff --git a/src/main/resources/static/route/examapply/update.html b/src/main/resources/static/route/examapply/update.html index 5a10b64..b00fdae 100644 --- a/src/main/resources/static/route/examapply/update.html +++ b/src/main/resources/static/route/examapply/update.html @@ -536,7 +536,8 @@ var theoryExamStartTime = new Date($('#theoryExamEndTime').val()).getTime(); var theoryExamEndTime = new Date($('#theoryExamStartTime').val()).getTime(); if(theoryExamEndTime >= theoryExamStartTime) { - layer.msg('理论考试结束时间不能早于等于开始时间'); + top.dialog.msg('理论考试结束时间不能早于等于开始时间'); + return false; } /*var practiceExamStartTime = new Date($('#practiceExamEndTime').val()).getTime();