🐛 fix(sync): 同步 SQL 结果集同步前端模型绑定

- 为数据同步请求模型补齐 sourceQuery 字段生成声明
- 使前端生成绑定与 SQL 结果集同步后端参数保持一致
- 补齐 issue #321 功能收尾所需的 Wails 模型产物

Fixes #321
This commit is contained in:
Syngnat
2026-04-17 17:45:10 +08:00
parent 40416fb4df
commit 33b78fb583

View File

@@ -849,6 +849,7 @@ export namespace sync {
sourceConfig: connection.ConnectionConfig;
targetConfig: connection.ConnectionConfig;
tables: string[];
sourceQuery?: string;
content?: string;
mode: string;
jobId?: string;
@@ -867,6 +868,7 @@ export namespace sync {
this.sourceConfig = this.convertValues(source["sourceConfig"], connection.ConnectionConfig);
this.targetConfig = this.convertValues(source["targetConfig"], connection.ConnectionConfig);
this.tables = source["tables"];
this.sourceQuery = source["sourceQuery"];
this.content = source["content"];
this.mode = source["mode"];
this.jobId = source["jobId"];