diff options
| author | joonhoekim <26rote@gmail.com> | 2025-10-03 13:54:38 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-10-03 13:54:38 +0900 |
| commit | 8945be5ea89365f8a686a0e65b5a7d5b61c2ca20 (patch) | |
| tree | d7ee4acd93bcffacea3c095cb60d5a9c67998be9 /lib/vendor-document-list/plant/shi-buyer-system-api.ts | |
| parent | defda07c0bb4b0bd444ca8dc4fd3f89322bda0ce (diff) | |
(김준회) 부서별 권한관리, swp 코멘트 기능, 벤더 po, shi-api 동기화 로직 수정
Diffstat (limited to 'lib/vendor-document-list/plant/shi-buyer-system-api.ts')
| -rw-r--r-- | lib/vendor-document-list/plant/shi-buyer-system-api.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vendor-document-list/plant/shi-buyer-system-api.ts b/lib/vendor-document-list/plant/shi-buyer-system-api.ts index b0462af8..9256eaf4 100644 --- a/lib/vendor-document-list/plant/shi-buyer-system-api.ts +++ b/lib/vendor-document-list/plant/shi-buyer-system-api.ts @@ -246,6 +246,7 @@ export class ShiBuyerSystemAPI { vendorDocNumber: stageDocuments.vendorDocNumber, title: stageDocuments.title, status: stageDocuments.status, + buyerSystemComment: stageDocuments.buyerSystemComment, // 코멘트 필드 추가 projectCode: sql<string>`(SELECT code FROM projects WHERE id = ${stageDocuments.projectId})`, vendorCode: sql<string>`(SELECT vendor_code FROM vendors WHERE id = ${stageDocuments.vendorId})`, vendorName: sql<string>`(SELECT vendor_name FROM vendors WHERE id = ${stageDocuments.vendorId})`, @@ -300,7 +301,7 @@ export class ShiBuyerSystemAPI { OWN_DOC_NO: doc.vendorDocNumber || doc.docNumber, DSC: doc.title, DOC_CLASS: 'B3', - COMMENT: '', + COMMENT: doc.buyerSystemComment || '', // 실제 코멘트 전송 // 조민정 프로 요청으로 'ACTIVE' --> '생성요청' 값으로 변경 (251002,김준회) STATUS: '생성요청', CRTER: 'EVCP_SYSTEM', |
