From d5d64597b59a68b11be66092c520063e9733ad8e Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Sat, 19 Jun 2021 18:13:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E7=94=B3=E8=AF=B7=E6=97=B6?= =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=9F=B9=E8=AE=AD=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/classplan/impl/ClassPlanServiceImpl.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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());