From e6f2dc007a6cf0c675a9d4b9c6dcd46ac14701b2 Mon Sep 17 00:00:00 2001 From: wanxiaoli Date: Mon, 20 Oct 2025 18:50:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=AD=98=E5=82=A8=E5=8E=BB?= =?UTF-8?q?=E6=8E=89reis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/modules/config/service/SystemConfigService.java | 2 +- .../modules/storage/service/StorageSourceConfigService.java | 2 +- .../modules/storage/service/StorageSourceService.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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); }