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 4af3043..2688512 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,8 +750,9 @@ 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);