mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-05-07 04:12:48 +08:00
🐛 fix(sync): 同步 SQL 结果集同步前端模型绑定
- 为数据同步请求模型补齐 sourceQuery 字段生成声明 - 使前端生成绑定与 SQL 结果集同步后端参数保持一致 - 补齐 issue #321 功能收尾所需的 Wails 模型产物 Fixes #321
This commit is contained in:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user