|
|
@ -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) {
|
|
|
|