diff --git a/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java b/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java index 2243f20..8186131 100644 --- a/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java @@ -531,6 +531,14 @@ public class ClassPlanServiceImpl extends DefaultBaseService implements IClassPl examApplyVO.setExamId(classPlanId); examApplyVO.setCheckStatus(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.setOrgId(classPlanDTO.getOrgId()); examApplyVO.setPlanName(classPlanDTO.getPlanName());