|
@@ -792,19 +792,6 @@ public class CustomDisplayServiceImpl implements CustomDisplayService {
|
|
|
return res;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public List<Department> viewStationAboutTree() {
|
|
|
- List<Department> departmentList = departmentClient.getSystemPage().getResult();
|
|
|
- departmentList.forEach(info -> {
|
|
|
- List<TfDeptSewage> deptSewageList = deptSewageService.list(new QueryWrapper<TfDeptSewage>().lambda().eq(TfDeptSewage::getDeptId, info.getId()));
|
|
|
- if (CollUtil.isNotEmpty(deptSewageList)) {
|
|
|
- List<Long> sewageIds = deptSewageList.stream().map(TfDeptSewage::getSewageStationId).collect(Collectors.toList());
|
|
|
- info.setStationsiteinfos(stationsiteinfoService.list(new QueryWrapper<Stationsiteinfo>().lambda().in(Stationsiteinfo::getId, sewageIds)));
|
|
|
- }
|
|
|
- });
|
|
|
- return departmentList;
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public void synStatisticsScada(String type, String startTime, String endTime) {
|
|
|
switch (type) {
|