This commit is contained in:
Leo
2026-02-06 20:17:29 +08:00
parent 72dee7fc16
commit e63ff7522e
2 changed files with 5 additions and 5 deletions

View File

@@ -2137,8 +2137,8 @@ public class TencentDocController extends BaseController {
int skippedCount = 0;
int errorCount = 0;
// 分批读取数据,每批500行API 行数≤1000列数≤200
final int BATCH_SIZE = 500;
// 分批读取数据,接口单次只能读 200 行
final int BATCH_SIZE = 200;
int currentStartRow = startRow;
int totalBatches = (int) Math.ceil((double)(endRow - startRow + 1) / BATCH_SIZE);
int currentBatch = 0;
@@ -2436,8 +2436,8 @@ public class TencentDocController extends BaseController {
int errorCount = 0; // 错误数量
java.util.List<String> updatedOrderNos = new java.util.ArrayList<>(); // 更新的单号列表
// 分批读取数据,每批500行API 行数≤1000列数≤200
final int BATCH_SIZE = 500;
// 分批读取数据,接口单次只能读 200 行
final int BATCH_SIZE = 200;
int currentStartRow = startRow;
int totalBatches = (int) Math.ceil((double)(endRow - startRow + 1) / BATCH_SIZE);
int currentBatch = 0;

View File

@@ -292,7 +292,7 @@ public class TencentDocDelayedPushServiceImpl implements ITencentDocDelayedPushS
"AUTO",
"DELAYED_TIMER",
startRow,
startRow + 499 // 与 Controller API_MAX_ROWS_PER_REQUEST=500 一致单批最多500行
startRow + 199 // 接口单次只能读 200 行
);
log.info("✓ 创建批量推送记录批次ID: {}", batchId);