From c50442b2940fe17aa99348144814961e7db39a01 Mon Sep 17 00:00:00 2001 From: YXY <932687738@qq.com> Date: Mon, 25 Sep 2023 19:41:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/quartz/task/CJT/SyncAccountsJobAbstract.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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();