diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java index eb483df7..16bad238 100644 --- a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java +++ b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java @@ -333,7 +333,7 @@ public class TAbilityApplicationController { Map> finalResult1 = result; Map>> re = result.keySet().stream().map(index -> { final List tAbilityApplicationDTOList = finalResult1.get(index); - if (tAbilityApplicationDTOList.isEmpty()) { + if (tAbilityApplicationDTOList == null || tAbilityApplicationDTOList.isEmpty()) { return null; } List resourceDTOS = tAbilityApplicationDTOList.stream().filter(tAbilityApplicationDTO -> StringUtils.isEmpty(tAbilityApplicationDTO.getCameraList())) // 过滤非摄像头申请