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 +