diff options
| author | joonhoekim <26rote@gmail.com> | 2025-10-27 12:31:52 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-10-27 12:31:52 +0900 |
| commit | 2e92d5f83ae5f0f39090552b46c519982e9279c9 (patch) | |
| tree | 6c32b55bc765f2a8ca7da86572fe3f9ca48a8893 /lib/swp/actions.ts | |
| parent | 9f761849c2e98f650d089d00aed9df090497ada9 (diff) | |
(김준회) SWP 컬럼조정 및 그에 따른 로직 변경, 결재로그 오류수정
Diffstat (limited to 'lib/swp/actions.ts')
| -rw-r--r-- | lib/swp/actions.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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<number>`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 ) |
