diff options
| author | joonhoekim <26rote@gmail.com> | 2025-11-20 11:53:08 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-11-20 11:53:08 +0900 |
| commit | 01b7b192acc316b4f8969893d1d9bb6369425776 (patch) | |
| tree | c885effdc80380ddabd4c52e9b24d98e8c9565e3 /lib/soap/ecc/mapper/rfq-and-pr-mapper.ts | |
| parent | 77cbcaf27c9de8b361a6c5a13f0eefb37fd0d0e5 (diff) | |
(김준회) PO 및 RFQ 관련 구매 피드백 반영
- PO매핑 오류 수정, 스키마 컬럼추가, 숫자포매팅 등
- rfq 담당자 문제 수정 등
Diffstat (limited to 'lib/soap/ecc/mapper/rfq-and-pr-mapper.ts')
| -rw-r--r-- | lib/soap/ecc/mapper/rfq-and-pr-mapper.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/soap/ecc/mapper/rfq-and-pr-mapper.ts b/lib/soap/ecc/mapper/rfq-and-pr-mapper.ts index c0557d0c..c1c56cf3 100644 --- a/lib/soap/ecc/mapper/rfq-and-pr-mapper.ts +++ b/lib/soap/ecc/mapper/rfq-and-pr-mapper.ts @@ -155,6 +155,7 @@ export async function mapECCRfqHeaderToRfqLast( // 담당자 찾기 const inChargeUserInfo = await findUserInfoByEKGRP(eccHeader.EKGRP || null); const inChargeUserId = inChargeUserInfo?.userId || null; + const inChargeUserName = inChargeUserInfo?.userName || null; // 담당자명 추가 // 대표 PR Item 기반으로 projectId, itemCode, itemName, 설계담당자 설정 (없으면 첫번째 PR Item 사용) let projectId: number | null = null; @@ -219,7 +220,7 @@ export async function mapECCRfqHeaderToRfqLast( remark: null, pic: inChargeUserId, // 담당자 ID picCode: eccHeader.EKGRP || null, // 구매그룹코드 - picName: null, // 담당자명은 별도 조회 필요 + picName: inChargeUserName, // 담당자명 (EKGRP로 조회) sentBy: null, createdBy: inChargeUserId || 1, updatedBy: inChargeUserId || 1, |
