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;