diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts index a7754cb24d13..7eace75e527f 100644 --- a/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts +++ b/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts @@ -205,6 +205,8 @@ export function formatParams(data: INodeData): { taskParams.type = data.type taskParams.datasource = data.datasource taskParams.sql = data.sql + taskParams.sqlSource = data.sqlSource + taskParams.sqlResource = data.sqlResource taskParams.sqlType = data.sqlType taskParams.preStatements = data.preStatements taskParams.postStatements = data.postStatements diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/types.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/types.ts index 218f318db0d0..64aec7690bb4 100644 --- a/dolphinscheduler-ui/src/views/projects/task/components/node/types.ts +++ b/dolphinscheduler-ui/src/views/projects/task/components/node/types.ts @@ -304,6 +304,8 @@ interface ITaskParams { type?: string datasource?: string sql?: string + sqlSource?: string + sqlResource?: string sqlType?: string sendEmail?: boolean displayRows?: number