제어관리 캔버스 테이블 및 컬럼 db에서 가져오기

This commit is contained in:
2025-09-19 10:26:57 +09:00
parent c679bacabc
commit 210a4ec62d
3 changed files with 57 additions and 14 deletions

View File

@@ -284,8 +284,12 @@ export const DataFlowDesigner: React.FC<DataFlowDesignerProps> = ({
description: "", // 새로 추가된 노드는 description 없이 통일
columns: Array.isArray(table.columns)
? table.columns.map((col) => ({
name: col.columnName || "unknown",
type: col.dataType || "varchar", // 기존과 동일한 기본값 사용
columnName: col.columnName || "unknown",
name: col.columnName || "unknown", // 호환성을 위해 유지
displayName: col.displayName, // 한국어 라벨
columnLabel: col.columnLabel, // 한국어 라벨
type: col.dataType || "varchar",
dataType: col.dataType || "varchar",
description: col.description || "",
}))
: [],