1.提交常量类

This commit is contained in:
panbaolin 2025-11-04 16:03:36 +08:00
parent e58980fb18
commit 9a087c0807
2 changed files with 13 additions and 2 deletions

View File

@ -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";
}

View File

@ -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;
/**