From 2e92d5f83ae5f0f39090552b46c519982e9279c9 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Mon, 27 Oct 2025 12:31:52 +0900 Subject: (김준회) SWP 컬럼조정 및 그에 따른 로직 변경, 결재로그 오류수정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/swp/actions.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/swp/actions.ts') diff --git a/lib/swp/actions.ts b/lib/swp/actions.ts index f58793e2..1faa69db 100644 --- a/lib/swp/actions.ts +++ b/lib/swp/actions.ts @@ -39,6 +39,7 @@ export interface SwpDocumentWithStats { CPY_NM: string | null; LTST_REV_NO: string | null; STAGE: string | null; + LTST_ACTV_STAT: string | null; sync_status: "synced" | "pending" | "error"; last_synced_at: Date; revision_count: number; @@ -107,6 +108,7 @@ export async function fetchSwpDocuments(params: SwpTableParams) { CPY_NM: swpDocuments.CPY_NM, LTST_REV_NO: swpDocuments.LTST_REV_NO, STAGE: swpDocuments.STAGE, + LTST_ACTV_STAT: swpDocuments.LTST_ACTV_STAT, sync_status: swpDocuments.sync_status, last_synced_at: swpDocuments.last_synced_at, revision_count: sql`COUNT(DISTINCT ${swpDocumentRevisions.id})::int`, @@ -126,6 +128,7 @@ export async function fetchSwpDocuments(params: SwpTableParams) { swpDocuments.CPY_NM, swpDocuments.LTST_REV_NO, swpDocuments.STAGE, + swpDocuments.LTST_ACTV_STAT, swpDocuments.sync_status, swpDocuments.last_synced_at ) -- cgit v1.2.3