From a09541c307a8b858a6cbb0ea70aec03f48c2665f Mon Sep 17 00:00:00 2001 From: walton <1239357677@qq.com> Date: Thu, 28 Nov 2024 17:16:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AB=99=E7=B1=BB=20=201?= =?UTF-8?q?=E6=97=A0=E8=8A=82=E5=88=B6=E7=94=B5=E7=AB=99=20=20=202?= =?UTF-8?q?=E6=B5=81=E9=87=8F=E8=AE=A1=E7=94=B5=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hzims/operational/station/service/impl/StationServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);