From 9d86f0272d536464a5cc99df3e3995adee9d87d7 Mon Sep 17 00:00:00 2001 From: cuibaocheng Date: Wed, 5 May 2021 14:54:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=A5=97=E7=89=88=E7=94=9F?= =?UTF-8?q?=E6=88=90=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/impl/DistributionServiceImpl.java | 5 +++-- .../static/route/examination/distribution/update.html | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java b/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java index 1f64619..ff265ac 100644 --- a/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java @@ -132,7 +132,8 @@ public class DistributionServiceImpl extends DefaultBaseService implements IDist Map save = HashMapUtil.beanToMap(dDistributionSaveVO); save.put("distributionAllotTime", ""); save.put("distributionFields", ""); - save.put("distributionStatus", ""); + save.put("distributionStatus", "0"); + save.put("distributionAllotEndTime", ""); save.put("distributionId", distributionId); if (StringUtils.isBlank(token)) { setSaveInfo(save); @@ -239,7 +240,7 @@ public class DistributionServiceImpl extends DefaultBaseService implements IDist ExamApplyVO vo = new ExamApplyVO(); vo.setExamId(distributionId); vo.setStatus(1); - iExamApplyService.update(null, vo); + iExamApplyService.updateStatus(distributionId, vo); distributionDao.update(params); } diff --git a/src/main/resources/static/route/examination/distribution/update.html b/src/main/resources/static/route/examination/distribution/update.html index a5e40fd..0b85080 100644 --- a/src/main/resources/static/route/examination/distribution/update.html +++ b/src/main/resources/static/route/examination/distribution/update.html @@ -125,7 +125,6 @@ laydate.render({ elem: '#distributionAllotTime', type: 'datetime', - min:3, trigger: 'click' }); } @@ -134,7 +133,6 @@ laydate.render({ elem: '#distributionAllotEndTime', type: 'datetime', - min:3, trigger: 'click' }); }