处理NullPoint
This commit is contained in:
parent
b059e566f0
commit
70507b31b8
@ -311,6 +311,9 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic
|
|||||||
for (TrainingInstitutionWorkTypeDTO row : trainingInstitutionWorkTypeList) {
|
for (TrainingInstitutionWorkTypeDTO row : trainingInstitutionWorkTypeList) {
|
||||||
ApplyWorkTypeInstitutionDTO trainingInstitutionWorkTypeDTO = new ApplyWorkTypeInstitutionDTO();
|
ApplyWorkTypeInstitutionDTO trainingInstitutionWorkTypeDTO = new ApplyWorkTypeInstitutionDTO();
|
||||||
InstitutionDTO institutionDTO = iInstitutionService.get(row.getInstitutionId());
|
InstitutionDTO institutionDTO = iInstitutionService.get(row.getInstitutionId());
|
||||||
|
if (institutionDTO == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
BeanUtils.copyProperties(trainingInstitutionWorkTypeDTO, institutionDTO);
|
BeanUtils.copyProperties(trainingInstitutionWorkTypeDTO, institutionDTO);
|
||||||
//统计机构报名数量
|
//统计机构报名数量
|
||||||
List<String> states = new ArrayList<>();
|
List<String> states = new ArrayList<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user