From 86a7549d0ea0c2ae5d1e48a5f9a41fe58f8f1a6f Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Mon, 10 May 2021 15:10:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E7=94=B3=E8=AF=B7bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tenlion/service/examapply/impl/ExamApplyServiceImpl.java | 2 +- src/main/resources/static/route/examapply/update.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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();