bug修改。
This commit is contained in:
parent
3c46ab1cb5
commit
8aec321733
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user