1
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user