mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 19:36:50 +08:00
@@ -37,7 +37,7 @@ public class SysDictionaryServiceImpl implements ISysDictionaryService{
|
|||||||
RedisTemplate redisTemplate;
|
RedisTemplate redisTemplate;
|
||||||
|
|
||||||
//缓存配置
|
//缓存配置
|
||||||
@Cacheable(value = CacheName.DICT,key = "'" + CacheName.KEY_DICT + "'+#key", unless = "#result == null")
|
//@Cacheable(value = CacheName.DICT,key = "'" + CacheName.KEY_DICT + "'+#key", unless = "#result == null")
|
||||||
@Override
|
@Override
|
||||||
public List<DictItem> findByKey(String key) {
|
public List<DictItem> findByKey(String key) {
|
||||||
if ("org_domain".equals(key)) {
|
if ("org_domain".equals(key)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user