From 9a087c08079bcaa5bdc9289c8bb5731d60bc7749 Mon Sep 17 00:00:00 2001 From: panbaolin <13071138970@163.com> Date: Tue, 4 Nov 2025 16:03:36 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=8F=90=E4=BA=A4=E5=B8=B8=E9=87=8F=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/jeecg/common/constant/CommonConstant.java | 14 +++++++++++++- .../controller/SysAnnouncementController.java | 1 - 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/CommonConstant.java b/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/CommonConstant.java index 45422ea..f35ba03 100644 --- a/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/CommonConstant.java +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/CommonConstant.java @@ -189,6 +189,9 @@ public interface CommonConstant { */ String CLOUD_SERVER_KEY = "spring.cloud.nacos.discovery.server-addr"; + /** 系统通告消息状态:1=已发布 */ + String ANNOUNCEMENT_SEND_STATUS_1 = "1"; + /**POST请求*/ String HTTP_POST = "POST"; @@ -207,6 +210,9 @@ public interface CommonConstant { /**String 类型的空值*/ String STRING_NULL = "null"; + /**前端vue3版本Header参数名*/ + String VERSION="X-Version"; + /**存储在线程变量里的动态表名*/ String DYNAMIC_TABLE_NAME="DYNAMIC_TABLE_NAME"; @@ -271,7 +277,13 @@ public interface CommonConstant { */ String CACHE_KEY_USER_LAST_ANNOUNT_TIME_1HOUR = "sys:cache:userinfo:user_last_annount_time::%s"; + /** + * 缓存所有台站key + */ String ALL_STATIONS = "stations"; - String ALL_NUCLEARFACILITY = "nuclearfacility"; + /** + * 缓存所有核设施key + */ + String ALL_NUCLEARFACILITY = "nuclearfacility"; } diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysAnnouncementController.java b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysAnnouncementController.java index 55c1011..4c2b157 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysAnnouncementController.java +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysAnnouncementController.java @@ -52,7 +52,6 @@ import java.util.concurrent.SynchronousQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; - import static org.jeecg.common.constant.CommonConstant.ANNOUNCEMENT_SEND_STATUS_1; /**