diff options
Diffstat (limited to 'lib/soap')
| -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'; } |
