修改考试申请回显bug

This commit is contained in:
wans 2021-05-12 14:35:34 +08:00
parent 1045372e1a
commit f23d2a0ea7

View File

@ -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());
}