diff options
| author | joonhoekim <26rote@gmail.com> | 2025-10-20 11:36:28 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-10-20 11:36:28 +0900 |
| commit | 28b9664c3a6aab2786e2429b2a8ae57f557856e2 (patch) | |
| tree | 5ba415bbf7d201315f126513cb2b543469b6caf4 | |
| parent | 49ddf8a11613b3a85c502060f997cd98fdf02cf5 (diff) | |
(김준회) 시리즈 매핑 수정 ( || SS 서로 바꿈)
| -rw-r--r-- | lib/soap/ecc/mapper/rfq-and-pr-mapper.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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'; } |
