【8.0】【org】整理缓存包结构

pull/57/head
fengshuonan 2023-07-14 21:46:30 +08:00
parent 73971934d3
commit 270ff4e6a8
6 changed files with 9 additions and 8 deletions

View File

@ -0,0 +1 @@
package cn.stylefeng.roses.kernel.sys.modular.org.cache;

View File

@ -1,4 +1,4 @@
package cn.stylefeng.roses.kernel.sys.modular.org.cache;
package cn.stylefeng.roses.kernel.sys.modular.org.cache.subflag;
import cn.hutool.cache.impl.TimedCache;
import cn.stylefeng.roses.kernel.cache.memory.AbstractMemoryCacheOperator;

View File

@ -1,4 +1,4 @@
package cn.stylefeng.roses.kernel.sys.modular.org.cache;
package cn.stylefeng.roses.kernel.sys.modular.org.cache.subflag;
import cn.stylefeng.roses.kernel.cache.redis.AbstractRedisCacheOperator;
import cn.stylefeng.roses.kernel.sys.api.constants.SysConstants;

View File

@ -1,4 +1,4 @@
package cn.stylefeng.roses.kernel.sys.modular.org.listener;
package cn.stylefeng.roses.kernel.sys.modular.org.cache.subflag.clear;
import cn.hutool.core.util.ObjectUtil;
import cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi;
@ -11,13 +11,13 @@ import javax.annotation.Resource;
import java.util.Collection;
/**
*
*
*
* @author fengshuonan
* @since 2023/7/14 14:19
* @since 2023/7/14 21:45
*/
@Service
public class OrgOperateListener {
public class OrgSubFlagClearListener {
@Resource(name = "sysOrgSubFlagCache")
private CacheOperatorApi<Boolean> sysOrgSubFlagCache;

View File

@ -27,7 +27,7 @@ package cn.stylefeng.roses.kernel.sys.starter.cache.org;
import cn.hutool.cache.CacheUtil;
import cn.hutool.cache.impl.TimedCache;
import cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi;
import cn.stylefeng.roses.kernel.sys.modular.org.cache.SysOrgSubFlagMemoryCache;
import cn.stylefeng.roses.kernel.sys.modular.org.cache.subflag.SysOrgSubFlagMemoryCache;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

View File

@ -26,7 +26,7 @@ package cn.stylefeng.roses.kernel.sys.starter.cache.org;
import cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi;
import cn.stylefeng.roses.kernel.cache.redis.util.CreateRedisTemplateUtil;
import cn.stylefeng.roses.kernel.sys.modular.org.cache.SysOrgSubFlagRedisCache;
import cn.stylefeng.roses.kernel.sys.modular.org.cache.subflag.SysOrgSubFlagRedisCache;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;