缓存不会过期先去掉

This commit is contained in:
于继存
2023-05-18 17:02:33 +08:00
parent 72aebb831d
commit cd1ae32c09

View File

@@ -37,7 +37,7 @@ public class SysDictionaryServiceImpl implements ISysDictionaryService{
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
public List<DictItem> findByKey(String key) {
if ("org_domain".equals(key)) {