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 5ab7eae..6d32ffa 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 @@ -422,13 +422,13 @@ public class ClassPlanServiceImpl extends DefaultBaseService implements IClassPl examDTO.setExamApplyId(examApplyDTO.getExamApplyId()); examDTO.setTheoryExamStartTime(examApplyDTO.getTheoryExamStartTime()); examDTO.setTheoryExamEndTime(examApplyDTO.getTheoryExamEndTime()); - if(examApplyDTO.getExamType() != 2){ + if(examApplyDTO.getCheckStatus() == 1){ InstitutionDTO institutionDTO = iInstitutionService.get(examApplyDTO.getTheoryExamAddressId()); examDTO.setTheoryExamAddress(institutionDTO.getInstitutionName() + "-" + institutionDTO.getInstitutionAddress()); } examDTO.setPracticeExamStartTime(examApplyDTO.getPracticeExamStartTime()); examDTO.setPracticeExamEndTime(examApplyDTO.getPracticeExamEndTime()); - if(examApplyDTO.getExamType() != 1){ + if(examApplyDTO.getCheckStatus() == 2){ InstitutionDTO institutionDTO = iInstitutionService.get(examApplyDTO.getPracticeExamAddressId()); examDTO.setPracticeExamAddress(institutionDTO.getInstitutionName() + "-" + institutionDTO.getInstitutionAddress()); }