diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/CJT/SyncAccountsJobAbstract.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/CJT/SyncAccountsJobAbstract.java index f6615f6..f36dacf 100644 --- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/CJT/SyncAccountsJobAbstract.java +++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/CJT/SyncAccountsJobAbstract.java @@ -453,18 +453,19 @@ public abstract class SyncAccountsJobAbstract { List uniqueKeyList = new ArrayList<>(); for (int i = 0; i < row.size(); i++) { String rowKey = keyList.get(i); + String value = row.get(i); + if (createTimeKey.equals(rowKey.toLowerCase())){ + createTime = value; + } CJTSyncTypeRelation cjtSyncTypeRelation = queryFieldsMap.get(rowKey); if (cjtSyncTypeRelation == null) { continue; } String larkLabel = cjtSyncTypeRelation.getLarkFileName(); - String value = row.get(i); if (uniqueFields.contains(rowKey)) { uniqueKeyList.add(value); } - if (createTimeKey.equals(rowKey.toLowerCase())){ - createTime = value; - } + body.put(larkLabel, this.changeValueType(value, cjtSyncTypeRelation)); } uniqueKey = String.join("_", uniqueKeyList).toUpperCase() + "_" + addRecordRequest.getAppTable();