|
|
|
@ -42,7 +42,7 @@ public class DepartmentBO {
|
|
|
|
|
.showOrder(null == e.getShowOrder() ? 0 : e.getShowOrder())
|
|
|
|
|
.canceled(null == e.getCanceled() ? 0 : e.getCanceled())
|
|
|
|
|
.build()).collect(Collectors.toList());
|
|
|
|
|
Map<Integer, List<DepartmentListDTO>> collects = dtoList.stream().filter(item -> 0 != item.getSupDepId()).collect(Collectors.groupingBy(DepartmentListDTO::getSupDepId));
|
|
|
|
|
Map<Integer, List<DepartmentListDTO>> collects = dtoList.stream().filter(item -> null != item.getSupDepId() && 0 != item.getSupDepId()).collect(Collectors.groupingBy(DepartmentListDTO::getSupDepId));
|
|
|
|
|
// 处理被引用数据
|
|
|
|
|
List<String> usedIds = MapperProxyFactory.getProxy(DepartmentMapper.class).listUsedId();
|
|
|
|
|
List<String> collect = Arrays.stream(String.join(",", usedIds).split(",")).collect(Collectors.toList());
|
|
|
|
|