mirror of https://gitee.com/stylefeng/roses
【7.3.2】【system】组织机构开启租户分割缓存
parent
7a7db3aaae
commit
268cd29f93
|
@ -46,4 +46,9 @@ public class UserOrgMemoryCache extends AbstractMemoryCacheOperator<SysUserOrgDT
|
||||||
return SystemCachesConstants.USER_ORG_CACHE_PREFIX;
|
return SystemCachesConstants.USER_ORG_CACHE_PREFIX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Boolean divideByTenant() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,4 +46,9 @@ public class UserOrgRedisCache extends AbstractRedisCacheOperator<SysUserOrgDTO>
|
||||||
return SystemCachesConstants.USER_ORG_CACHE_PREFIX;
|
return SystemCachesConstants.USER_ORG_CACHE_PREFIX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Boolean divideByTenant() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue