From 7fb5c6a9813e8a16b3097d6286af1035377f04fa Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Tue, 8 Aug 2023 10:52:41 +0800 Subject: [PATCH] =?UTF-8?q?#=E4=BB=A3=E7=A0=81=E6=A3=80=E6=9F=A5=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operational/main/service/impl/WindHomeServiceImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; }