优化本地存储, 不适用缓存

This commit is contained in:
zhaojun1998
2019-12-09 22:46:59 +08:00
parent ff7feedb2f
commit 403dd4f2e1

View File

@@ -18,7 +18,7 @@ import java.util.List;
@CacheConfig(cacheNames = ZFileCacheConfiguration.CACHE_NAME, keyGenerator = "keyGenerator")
public interface FileService {
@Cacheable
@Cacheable(condition = "#root.targetClass.simpleName != 'LocalServiceImpl'")
List<FileItemDTO> fileList(String path) throws Exception;
@Cacheable