diff --git a/java/src/main/java/com/yfd/platform/modules/config/service/SystemConfigService.java b/java/src/main/java/com/yfd/platform/modules/config/service/SystemConfigService.java index bdc4038..8889dfa 100644 --- a/java/src/main/java/com/yfd/platform/modules/config/service/SystemConfigService.java +++ b/java/src/main/java/com/yfd/platform/modules/config/service/SystemConfigService.java @@ -62,7 +62,7 @@ public class SystemConfigService { * * @return 系统设置 */ - @Cacheable(key = "'dto'") +// @Cacheable(key = "'dto'") public SystemConfigDTO getSystemConfig() { SystemConfigDTO systemConfigDTO = new SystemConfigDTO(); List systemConfigList = systemConfigMapper.findAll(); diff --git a/java/src/main/java/com/yfd/platform/modules/storage/service/StorageSourceConfigService.java b/java/src/main/java/com/yfd/platform/modules/storage/service/StorageSourceConfigService.java index 0d3550c..9f3a617 100644 --- a/java/src/main/java/com/yfd/platform/modules/storage/service/StorageSourceConfigService.java +++ b/java/src/main/java/com/yfd/platform/modules/storage/service/StorageSourceConfigService.java @@ -47,7 +47,7 @@ public class StorageSourceConfigService { * * @return 存储源拓展配置列表 */ - @Cacheable(key = "#storageId", unless = "#result == null or #result.size() == 0") +// @Cacheable(key = "#storageId", unless = "#result == null or #result.size() == 0") public List selectStorageConfigByStorageId(Integer storageId) { return storageSourceConfigMapper.findByStorageIdOrderById(storageId); } diff --git a/java/src/main/java/com/yfd/platform/modules/storage/service/StorageSourceService.java b/java/src/main/java/com/yfd/platform/modules/storage/service/StorageSourceService.java index 5caf573..31774ef 100644 --- a/java/src/main/java/com/yfd/platform/modules/storage/service/StorageSourceService.java +++ b/java/src/main/java/com/yfd/platform/modules/storage/service/StorageSourceService.java @@ -104,7 +104,7 @@ public class StorageSourceService { * * @return 存储源设置 */ - @Cacheable(key = "#id", unless = "#result == null") +// @Cacheable(key = "#id", unless = "#result == null") public StorageSource findById(Integer id) { return storageSourceMapper.selectById(id); } @@ -120,7 +120,7 @@ public class StorageSourceService { * * @return 存储源信息 */ - @Cacheable(key = "#storageKey", unless = "#result == null") +// @Cacheable(key = "#storageKey", unless = "#result == null") public StorageSource findByStorageKey(String storageKey) { return storageSourceMapper.findByStorageKey(storageKey); }