From 2fb9b5df12772a34f72c5c8b8799bcbef25dca60 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Thu, 10 Jul 2025 19:52:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=90=8C=E6=AD=A5=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E5=A2=9E=E9=87=8F=E5=90=8C=E6=AD=A5=E6=94=AF=E6=8C=81=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E6=AD=A3=E8=B4=9F=E5=81=8F=E7=A7=BB=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/api/sync/syncTask.ts | 3 +++ core/core-frontend/src/locales/en.ts | 6 +++++- core/core-frontend/src/locales/tw.ts | 6 +++++- core/core-frontend/src/locales/zh-CN.ts | 6 +++++- de-xpack | 2 +- .../src/main/java/io/dataease/api/sync/task/dto/Target.java | 2 ++ 6 files changed, 21 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/api/sync/syncTask.ts b/core/core-frontend/src/api/sync/syncTask.ts index b4643eac17..1c2a71f723 100644 --- a/core/core-frontend/src/api/sync/syncTask.ts +++ b/core/core-frontend/src/api/sync/syncTask.ts @@ -112,6 +112,9 @@ export interface ITarget { incrementField: string incrementFieldType: string remarks: string + faultToleranceRate: number + incrementOffset: number + incrementOffsetUnit: string } export class ITaskInfoRes { diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index 1a53d150e4..b4630316b9 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -4125,7 +4125,11 @@ export default { time_end: 'End', es_query_param_formatter_error: 'Query parameter format error, please enter the correct JSON format, please check', - show_task_id: 'View Task ID' + show_task_id: 'View Task ID', + offset: 'Offset', + offset_tip: 'Offset: negative for backward, positive for forward', + millisecond: 'Millisecond', + units: 'Unit' }, watermark: { support_params: 'Currently supported parameters:', diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index 2b97a6ba5c..980e77f746 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -4011,7 +4011,11 @@ export default { dynamic_partition_enable: '動態分區', time_end: '結束', es_query_param_formatter_error: '查詢參數格式錯誤,請輸入正確的JSON格式,請檢查', - show_task_id: '查看任務ID' + show_task_id: '查看任務ID', + offset: '偏移量', + offset_tip: '偏移量,負數為前向偏移,正數為後向偏移', + millisecond: '毫秒', + units: '單位' }, watermark: { support_params: '目前支援的參數:', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 4e14a30eaa..c726422510 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -4013,7 +4013,11 @@ export default { dynamic_partition_enable: '动态分区', time_end: '结束', es_query_param_formatter_error: '查询参数格式错误,请输入正确的JSON格式,请检查', - show_task_id: '查看任务ID' + show_task_id: '查看任务ID', + offset: '偏移量', + offset_tip: '偏移量,负数为前向偏移,正数为后向偏移', + millisecond: '毫秒', + units: '单位' }, watermark: { support_params: '当前支持的参数:', diff --git a/de-xpack b/de-xpack index 51a4af6323..831fb97e09 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit 51a4af6323c78d02b1f2d995330c9c5c36de0e4c +Subproject commit 831fb97e09930b671915a80fce16df9648e72317 diff --git a/sdk/api/api-sync/src/main/java/io/dataease/api/sync/task/dto/Target.java b/sdk/api/api-sync/src/main/java/io/dataease/api/sync/task/dto/Target.java index 6934e5e905..8aae4df06e 100644 --- a/sdk/api/api-sync/src/main/java/io/dataease/api/sync/task/dto/Target.java +++ b/sdk/api/api-sync/src/main/java/io/dataease/api/sync/task/dto/Target.java @@ -24,4 +24,6 @@ public class Target { private double faultToleranceRate; private String incrementFieldType; private String remarks; + private Long incrementOffset; + private String incrementOffsetUnit; }