diff --git a/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java b/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java index 30a5eaa..0c75840 100644 --- a/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java @@ -311,6 +311,9 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic for (TrainingInstitutionWorkTypeDTO row : trainingInstitutionWorkTypeList) { ApplyWorkTypeInstitutionDTO trainingInstitutionWorkTypeDTO = new ApplyWorkTypeInstitutionDTO(); InstitutionDTO institutionDTO = iInstitutionService.get(row.getInstitutionId()); + if (institutionDTO == null) { + continue; + } BeanUtils.copyProperties(trainingInstitutionWorkTypeDTO, institutionDTO); //统计机构报名数量 List states = new ArrayList<>();