修改考试申请回显bug
This commit is contained in:
parent
1045372e1a
commit
f23d2a0ea7
@ -422,13 +422,13 @@ public class ClassPlanServiceImpl extends DefaultBaseService implements IClassPl
|
|||||||
examDTO.setExamApplyId(examApplyDTO.getExamApplyId());
|
examDTO.setExamApplyId(examApplyDTO.getExamApplyId());
|
||||||
examDTO.setTheoryExamStartTime(examApplyDTO.getTheoryExamStartTime());
|
examDTO.setTheoryExamStartTime(examApplyDTO.getTheoryExamStartTime());
|
||||||
examDTO.setTheoryExamEndTime(examApplyDTO.getTheoryExamEndTime());
|
examDTO.setTheoryExamEndTime(examApplyDTO.getTheoryExamEndTime());
|
||||||
if(examApplyDTO.getExamType() != 2){
|
if(examApplyDTO.getCheckStatus() == 1){
|
||||||
InstitutionDTO institutionDTO = iInstitutionService.get(examApplyDTO.getTheoryExamAddressId());
|
InstitutionDTO institutionDTO = iInstitutionService.get(examApplyDTO.getTheoryExamAddressId());
|
||||||
examDTO.setTheoryExamAddress(institutionDTO.getInstitutionName() + "-" + institutionDTO.getInstitutionAddress());
|
examDTO.setTheoryExamAddress(institutionDTO.getInstitutionName() + "-" + institutionDTO.getInstitutionAddress());
|
||||||
}
|
}
|
||||||
examDTO.setPracticeExamStartTime(examApplyDTO.getPracticeExamStartTime());
|
examDTO.setPracticeExamStartTime(examApplyDTO.getPracticeExamStartTime());
|
||||||
examDTO.setPracticeExamEndTime(examApplyDTO.getPracticeExamEndTime());
|
examDTO.setPracticeExamEndTime(examApplyDTO.getPracticeExamEndTime());
|
||||||
if(examApplyDTO.getExamType() != 1){
|
if(examApplyDTO.getCheckStatus() == 2){
|
||||||
InstitutionDTO institutionDTO = iInstitutionService.get(examApplyDTO.getPracticeExamAddressId());
|
InstitutionDTO institutionDTO = iInstitutionService.get(examApplyDTO.getPracticeExamAddressId());
|
||||||
examDTO.setPracticeExamAddress(institutionDTO.getInstitutionName() + "-" + institutionDTO.getInstitutionAddress());
|
examDTO.setPracticeExamAddress(institutionDTO.getInstitutionName() + "-" + institutionDTO.getInstitutionAddress());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user