bug修改。

This commit is contained in:
Renpc-kilig 2021-05-15 18:52:55 +08:00
parent 3c46ab1cb5
commit 8aec321733

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