cjt循环分页
continuous-integration/drone/push Build is passing Details

沃森川job同步飞书
YXY 1 year ago
parent 992149a1aa
commit 88af3d3def

@ -183,7 +183,7 @@ public abstract class SyncAccountsJobAbstract {
LarkCompanyRelation companyRelation = context.getCompanyRelation(); LarkCompanyRelation companyRelation = context.getCompanyRelation();
LarkTableRelation tableRelation = context.getTableRelation(); LarkTableRelation tableRelation = context.getTableRelation();
LarkTableRequest addRecordRequest = new LarkTableRequest(companyRelation.getAppId(), companyRelation.getSecret(), tableRelation.getToAppToken(), tableRelation.getToTableId()); LarkTableRequest addRecordRequest = new LarkTableRequest(companyRelation.getAppId(), companyRelation.getSecret(), tableRelation.getToAppToken(), tableRelation.getToTableId());
// while (page <= total) { while (page <= total) {
try { try {
//初始化数据 //初始化数据
if (cjtRequestBody == null) { if (cjtRequestBody == null) {
@ -217,7 +217,7 @@ public abstract class SyncAccountsJobAbstract {
} finally { } finally {
page++; page++;
} }
// } }
} }
private List<String> getUniqueKey(List<String> keyList,List<List<String>> rows) { private List<String> getUniqueKey(List<String> keyList,List<List<String>> rows) {

Loading…
Cancel
Save