This commit is contained in:
wangliwen 2023-01-12 14:58:43 +08:00
parent 8ff33d570e
commit 0fe0f9b4a5
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ public class TAbilityApplicationController {
Map<String, List<TAbilityApplicationDTO>> finalResult1 = result;
Map<String, List<Map<String, Object>>> re = result.keySet().stream().map(index -> {
final List<TAbilityApplicationDTO> tAbilityApplicationDTOList = finalResult1.get(index);
if (tAbilityApplicationDTOList.isEmpty()) {
if (tAbilityApplicationDTOList == null || tAbilityApplicationDTOList.isEmpty()) {
return null;
}
List<ResourceDTO> resourceDTOS = tAbilityApplicationDTOList.stream().filter(tAbilityApplicationDTO -> StringUtils.isEmpty(tAbilityApplicationDTO.getCameraList())) // 过滤非摄像头申请