fix(文件中心):冷热数据切换逻辑完善,已实现时间窗口查询各自的存储服务

This commit is contained in:
2025-10-15 12:32:45 +08:00
parent 7299cc0777
commit 3de774517e
4 changed files with 3 additions and 57 deletions
@@ -44,8 +44,8 @@ public class TimeWindowStorageService {
private FileMapper fileMapper;
// 配置参数
@Value("${zlt.storage.hot-data-days:30}")
private int hotDataDays; // 热数据保留天数,默认30天
// @Value("${zlt.storage.hot-data-days}")
private int hotDataDays = 30; // 热数据保留天数,默认30天
// @Value("${zlt.storage.enable-time-window:true}")
private boolean enableTimeWindow = true; // 是否启用时间窗口存储