Merge remote-tracking branch 'origin/baotou-signup' into baotou-signup

This commit is contained in:
ly19960718 2021-05-15 18:53:24 +08:00
commit e7d9df37bd

View File

@ -138,25 +138,6 @@ public class ExamApplyServiceImpl extends DefaultBaseService implements IExamApp
setAppUpdateInfo(token, params); setAppUpdateInfo(token, params);
} }
examApplyDao.update(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 @Override