考试申请时补充培训类型

This commit is contained in:
wans 2021-06-19 18:13:19 +08:00
parent 589f9de387
commit d5d64597b5

View File

@ -531,6 +531,14 @@ public class ClassPlanServiceImpl extends DefaultBaseService implements IClassPl
examApplyVO.setExamId(classPlanId); examApplyVO.setExamId(classPlanId);
examApplyVO.setCheckStatus(0); examApplyVO.setCheckStatus(0);
examApplyVO.setStatus(0); examApplyVO.setStatus(0);
int examType = 0;
if(classPlanDTO.getPlanType() == null
|| classPlanDTO.getPlanType().length() == 0){
examType = 1;
} else {
examType = Integer.parseInt(classPlanDTO.getPlanType());
}
examApplyVO.setExamType(examType);
examApplyVO.setWorkTypeId(classPlanDTO.getWorkerCatalog()); examApplyVO.setWorkTypeId(classPlanDTO.getWorkerCatalog());
examApplyVO.setOrgId(classPlanDTO.getOrgId()); examApplyVO.setOrgId(classPlanDTO.getOrgId());
examApplyVO.setPlanName(classPlanDTO.getPlanName()); examApplyVO.setPlanName(classPlanDTO.getPlanName());