From 8fb22017d31feb1a4c5f31b8551ad3a37ee9258c Mon Sep 17 00:00:00 2001 From: hzj <826100833@qq.com> Date: Tue, 1 Jul 2025 11:24:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E7=89=88=E6=9C=AC=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../transientes/service/impl/LargeScreenCountServiceImpl.java | 3 ++- event_smart/src/main/resources/application.yml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/event_smart/src/main/java/com/njcn/gather/event/transientes/service/impl/LargeScreenCountServiceImpl.java b/event_smart/src/main/java/com/njcn/gather/event/transientes/service/impl/LargeScreenCountServiceImpl.java index 61c4a05e..e0cbc7cf 100644 --- a/event_smart/src/main/java/com/njcn/gather/event/transientes/service/impl/LargeScreenCountServiceImpl.java +++ b/event_smart/src/main/java/com/njcn/gather/event/transientes/service/impl/LargeScreenCountServiceImpl.java @@ -82,7 +82,8 @@ public class LargeScreenCountServiceImpl implements LargeScreenCountService { private final PqsUsersetService pqsUsersetService; private final PqsUserService pqsUserService; private final PqLinedetailMapper pqLinedetailMapper; - private final List WAVETYPE_LIST= Stream.of(1,3).collect(Collectors.toList()); + @Value("${WAVETYPE.LIST}") + private List WAVETYPE_LIST; @Value("${SYS_TYPE_ZT}") private String sysTypeZt; diff --git a/event_smart/src/main/resources/application.yml b/event_smart/src/main/resources/application.yml index d686329e..f5d15e83 100644 --- a/event_smart/src/main/resources/application.yml +++ b/event_smart/src/main/resources/application.yml @@ -97,3 +97,6 @@ threadPool: maxPoolSize: 20 queueCapacity: 500 keepAliveSeconds: 60 +WAVETYPE: + LIST: 1,3 +