1、拉取时间范围修改

This commit is contained in:
llllon 2025-10-29 10:32:23 +08:00
parent 5a8871f97d
commit 56ed9d679a
2 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ public class DataLinkUpController {
// 3. 创建数据同步服务实例 // 3. 创建数据同步服务实例
DataSyncService syncService = null; DataSyncService syncService = null;
Calendar cal = Calendar.getInstance(); Calendar cal = Calendar.getInstance();
cal.add(Calendar.DATE, -1); // 昨天 // cal.add(Calendar.DATE, -1); // 昨天
Date endDate = cal.getTime(); Date endDate = cal.getTime();
// 解析formattedDate为日期对象并计算时间范围 // 解析formattedDate为日期对象并计算时间范围