This commit is contained in:
parent
86b7ecc0e5
commit
9129b115ff
|
@ -193,7 +193,7 @@ public class CensusController {
|
|||
CompletableFuture.supplyAsync(() -> { // 获取资源汇聚总量
|
||||
List<String> db = resourceService.selectDeptProvide(deptId);
|
||||
Set<String> type =
|
||||
db.stream().flatMap(index_ -> Arrays.stream(index_.split(";"))).filter(index_ -> StringUtils.isNotEmpty(index_)).filter(index_ -> "其他".equals(index_)).collect(Collectors.toSet());
|
||||
db.stream().flatMap(index_ -> Arrays.stream(index_.split(";"))).filter(index_ -> StringUtils.isNotEmpty(index_)).filter(index_ -> !"其他".equals(index_)).collect(Collectors.toSet());
|
||||
return type;
|
||||
}).thenAccept(type -> {
|
||||
SysDeptDTO deptDTO = sysDeptService.get(deptId);
|
||||
|
@ -227,7 +227,7 @@ public class CensusController {
|
|||
CompletableFuture.supplyAsync(() -> { // 获取资源汇聚总量
|
||||
List<String> db = tAbilityApplicationService.selectDeptApply(deptId);
|
||||
Set<String> type =
|
||||
db.stream().flatMap(index_ -> Arrays.stream(index_.split(";"))).filter(index_ -> StringUtils.isNotEmpty(index_)).filter(index_ -> "其他".equals(index_)).collect(Collectors.toSet());
|
||||
db.stream().flatMap(index_ -> Arrays.stream(index_.split(";"))).filter(index_ -> StringUtils.isNotEmpty(index_)).filter(index_ -> !"其他".equals(index_)).collect(Collectors.toSet());
|
||||
return type;
|
||||
}).thenAccept(type -> {
|
||||
SysDeptDTO deptDTO = sysDeptService.get(deptId);
|
||||
|
|
Loading…
Reference in New Issue