Merge branch 'feature/v2-renewal' of http://39.117.244.52:3000/kjs/ERP-node into jskim-node

This commit is contained in:
kmh
2026-02-26 16:51:12 +09:00
9 changed files with 915 additions and 31 deletions

View File

@@ -13,9 +13,13 @@ import {
PoolClient,
QueryResult as PgQueryResult,
QueryResultRow,
types,
} from "pg";
import config from "../config/environment";
// DATE 타입(OID 1082)을 문자열로 반환 (타임존 변환에 의한 -1day 버그 방지)
types.setTypeParser(1082, (val: string) => val);
// PostgreSQL 연결 풀
let pool: Pool | null = null;