【功能优化】工作流:流程详情的重构 50%:梳理整体结构

This commit is contained in:
YunaiV
2024-10-26 16:44:06 +08:00
parent 4583f161b4
commit 758d59d74e
8 changed files with 42 additions and 10 deletions

View File

@ -332,7 +332,7 @@ public class CollectionUtils {
}
public static <T> List<T> newArrayList(List<List<T>> list) {
return list.stream().flatMap(Collection::stream).collect(Collectors.toList());
return list.stream().filter(Objects::nonNull).flatMap(Collection::stream).collect(Collectors.toList());
}
}