diff --git a/frontend/app/(main)/admin/automaticMng/batchmngList/create/page.tsx b/frontend/app/(main)/admin/automaticMng/batchmngList/create/page.tsx index a4e1095c..fcd61c1b 100644 --- a/frontend/app/(main)/admin/automaticMng/batchmngList/create/page.tsx +++ b/frontend/app/(main)/admin/automaticMng/batchmngList/create/page.tsx @@ -181,12 +181,12 @@ export default function BatchCreatePage() { const newMapping: BatchMapping = { from_connection_type: fromConnection.type, - from_connection_id: fromConnection.id || null, + from_connection_id: fromConnection.id ?? undefined, from_table_name: fromTable, from_column_name: selectedFromColumn.column_name, from_column_type: selectedFromColumn.data_type || '', to_connection_type: toConnection.type, - to_connection_id: toConnection.id || null, + to_connection_id: toConnection.id ?? undefined, to_table_name: toTable, to_column_name: toColumn.column_name, to_column_type: toColumn.data_type || '', diff --git a/frontend/lib/api/batch.ts b/frontend/lib/api/batch.ts index 696f13f3..c51af51c 100644 --- a/frontend/lib/api/batch.ts +++ b/frontend/lib/api/batch.ts @@ -48,6 +48,8 @@ export interface BatchConfigFilter { is_active?: string; company_code?: string; search?: string; + page?: number; + limit?: number; } export interface BatchJob { @@ -461,6 +463,3 @@ export class BatchAPI { } } } - -// BatchJob export 추가 (이미 위에서 interface로 정의됨) -export { BatchJob };