From 0538a45bff805983d8ef55fbfb96d33cf8af6a1e Mon Sep 17 00:00:00 2001 From: YXY <932687738@qq.com> Date: Sat, 7 Oct 2023 21:10:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=94=AF=E4=B8=80=E9=94=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/quartz/task/CJT/SyncAccountsJobAbstract.java | 7 +++---- 1 file changed, 3 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 6a9a4ae..3d23589 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 @@ -471,15 +471,14 @@ public abstract class SyncAccountsJobAbstract { if (createTimeKey.equals(rowKey.toLowerCase())){ createTime = value; } + if (uniqueFields.contains(rowKey)) { + uniqueKeyList.add(value); + } CJTSyncTypeRelation cjtSyncTypeRelation = queryFieldsMap.get(rowKey); if (cjtSyncTypeRelation == null) { continue; } String larkLabel = cjtSyncTypeRelation.getLarkFileName(); - if (uniqueFields.contains(rowKey)) { - uniqueKeyList.add(value); - } - body.put(larkLabel, this.changeValueType(value, cjtSyncTypeRelation)); } uniqueKey = String.join("_", uniqueKeyList).toUpperCase() + "_" + addRecordRequest.getAppTable();