From c17225abb16c5e459e7af34e5f147c15583fa557 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期五, 06 十二月 2024 10:11:38 +0800 Subject: [PATCH] update 优化 在线用户查询 优先查询租户下数据 减少数据量 --- ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/constant/CacheNames.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/constant/CacheNames.java b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/constant/CacheNames.java index 28ba177..bf8efc5 100644 --- a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/constant/CacheNames.java +++ b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/constant/CacheNames.java @@ -61,6 +61,16 @@ String SYS_OSS = "sys_oss#30d"; /** + * 瑙掕壊鑷畾涔夋潈闄� + */ + String SYS_ROLE_CUSTOM = "sys_role_custom#30d"; + + /** + * 閮ㄩ棬鍙婁互涓嬫潈闄� + */ + String SYS_DEPT_AND_CHILD = "sys_dept_and_child#30d"; + + /** * OSS閰嶇疆 */ String SYS_OSS_CONFIG = GlobalConstants.GLOBAL_REDIS_KEY + "sys_oss_config"; -- Gitblit v1.9.3