diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/WindHomeServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/WindHomeServiceImpl.java index b286fdb..00f2f62 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/WindHomeServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/WindHomeServiceImpl.java @@ -108,7 +108,7 @@ public class WindHomeServiceImpl implements WindHomeService { @Override public WindScoreVo KPIs(Long deptId) { // 查询风电站 - List stations = stationService.getHomeStationList(deptId,Collections.singletonList(HomePageConstant.WIND_POWER),HomePageConstant.HYDROPOWER_SERVETYPE); + List stations = stationService.getHomeStationList(deptId,Collections.singletonList(HomePageConstant.WIND_POWER),HomePageConstant.HYDROPOWER_SERVETYPE,true); if(CollectionUtil.isEmpty(stations)){ return new WindScoreVo(); } @@ -209,7 +209,7 @@ public class WindHomeServiceImpl implements WindHomeService { */ @Override public List subordinate(Long deptId) { - Map> areas = areaService.areaOrStaion(deptId, Collections.singletonList(HomePageConstant.WIND_POWER)); + Map> areas = areaService.areaOrStaion(deptId, Collections.singletonList(HomePageConstant.WIND_POWER),true); if (MapUtils.isEmpty(areas)) { return new ArrayList<>(); } @@ -351,7 +351,7 @@ public class WindHomeServiceImpl implements WindHomeService { @Override public List app_area(Long deptId) { // 区域数据查询 - Map> areas = areaService.areaOrStaion(deptId, Collections.singletonList(HomePageConstant.WIND_POWER)); + Map> areas = areaService.areaOrStaion(deptId, Collections.singletonList(HomePageConstant.WIND_POWER),true); if (MapUtils.isEmpty(areas)) { return new ArrayList<>(); } @@ -482,7 +482,7 @@ public class WindHomeServiceImpl implements WindHomeService { private void windFill(WindAreaDutyVo areaDuty,Long deptId) { // 查询站点 - List stations = stationService.getHomeStationList(deptId,Collections.singletonList(HomePageConstant.WIND_POWER),HomePageConstant.HYDROPOWER_SERVETYPE); + List stations = stationService.getHomeStationList(deptId,Collections.singletonList(HomePageConstant.WIND_POWER),HomePageConstant.HYDROPOWER_SERVETYPE,true); if(CollectionUtil.isEmpty(stations)){ return; } @@ -797,7 +797,7 @@ public class WindHomeServiceImpl implements WindHomeService { * @param subordinate */ private void stations(WindSubordinateAppVo subordinate) { - List stations = stationService.getHomeStationList(subordinate.getDeptId(),Collections.singletonList(HomePageConstant.WIND_POWER),HomePageConstant.HYDROPOWER_SERVETYPE); + List stations = stationService.getHomeStationList(subordinate.getDeptId(),Collections.singletonList(HomePageConstant.WIND_POWER),HomePageConstant.HYDROPOWER_SERVETYPE,true); if(CollectionUtil.isEmpty(stations)){ return; }