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' }); }