diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java index 2688512..4af3043 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java @@ -750,9 +750,8 @@ public class StationServiceImpl extends BaseServiceImpl types= HomePageConstant.SERVETYPE_LIST; if (ObjectUtil.isEmpty(type)) { types = HomePageConstant.SERVETYPE_LIST; - }else { - types = Collections.singletonList(type); } + List serveTypes; if (ObjectUtil.isEmpty(serveType)) { serveTypes = Arrays.asList(HomePageConstant.HYDROPOWER_SERVETYPE, HomePageConstant.CLOUD_SERVETYPE);