From 28b9664c3a6aab2786e2429b2a8ae57f557856e2 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Mon, 20 Oct 2025 11:36:28 +0900 Subject: (김준회) 시리즈 매핑 수정 ( || SS 서로 바꿈) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/soap/ecc/mapper/rfq-and-pr-mapper.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/soap/ecc') diff --git a/lib/soap/ecc/mapper/rfq-and-pr-mapper.ts b/lib/soap/ecc/mapper/rfq-and-pr-mapper.ts index 9180b4e2..f2683213 100644 --- a/lib/soap/ecc/mapper/rfq-and-pr-mapper.ts +++ b/lib/soap/ecc/mapper/rfq-and-pr-mapper.ts @@ -33,8 +33,8 @@ export type RfqPrItemData = typeof rfqPrItems.$inferInsert; /** * 시리즈 판단: 관련 PR 아이템들의 PSPID를 기반으로 결정 * - 아이템이 1개 이하: null - * - 아이템이 2개 이상이고 PSPID가 모두 동일: "SS" - * - 아이템이 2개 이상이고 PSPID가 서로 다름: "||" + * - 아이템이 2개 이상이고 PSPID가 모두 동일: "||" + * - 아이템이 2개 이상이고 PSPID가 서로 다름: "SS" */ function computeSeriesFromItems(items: ECCBidItem[]): string | null { if (items.length <= 1) return null; @@ -49,7 +49,7 @@ function computeSeriesFromItems(items: ECCBidItem[]): string | null { items.map((it) => normalize(it.PSPID as string | null | undefined)) ); - return uniquePspids.size === 1 ? 'SS' : '||'; + return uniquePspids.size === 1 ? '||' : 'SS'; } -- cgit v1.2.3