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 31b2e95..4484619 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 @@ -138,25 +138,6 @@ public class ExamApplyServiceImpl extends DefaultBaseService implements IExamApp setAppUpdateInfo(token, params); } examApplyDao.update(params); - // 如果受理通过,则新增一条考场分配数据 - if(!StringUtils.isBlank(examApplyVO.getCertificateOffice())) { - // 申请考场信息开始 - DistributionSaveVO dstributionSaveVO = new DistributionSaveVO(); - dstributionSaveVO.setPlanId(examApplyVO.getExamId()); - dstributionSaveVO.setPlanName(examApplyVO.getPlanName()); - if(1 == examApplyVO.getExamType()) { - dstributionSaveVO.setDistributionTime(examApplyVO.getTheoryExamStartTime()); - dstributionSaveVO.setDistributionEndTime(examApplyVO.getTheoryExamEndTime()); - } - if(2 == examApplyVO.getExamType()) { - dstributionSaveVO.setDistributionTime(examApplyVO.getPracticeExamStartTime()); - dstributionSaveVO.setDistributionEndTime(examApplyVO.getPracticeExamEndTime()); - } - dstributionSaveVO.setDistributionNumber(examApplyVO.getPlanPersonNum()); - dstributionSaveVO.setStationId(examApplyVO.getTheoryExamAddressId()); - distributionService.save(dstributionSaveVO); - // 申请考场信息结束 - } } @Override