npe!
This commit is contained in:
parent
e8e6d5396a
commit
ecdd006c4e
|
@ -205,7 +205,8 @@ public class CensusController {
|
|||
CompletableFuture.supplyAsync(() -> { // 获取部门提供能力
|
||||
List<String> db = resourceService.selectDeptProvide(deptId);
|
||||
Set<String> type =
|
||||
db.stream().
|
||||
db.stream()
|
||||
.filter(index_ -> StringUtils.isNotEmpty(index_)).
|
||||
flatMap(index_ -> Arrays.stream(index_.split(";")))
|
||||
.filter(index_ -> StringUtils.isNotEmpty(index_))
|
||||
.filter(index_ -> !"其他".equals(index_))
|
||||
|
|
Loading…
Reference in New Issue