diff options
| author | joonhoekim <26rote@gmail.com> | 2025-08-26 07:59:44 +0000 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-08-26 07:59:44 +0000 |
| commit | ebab13aa5962f8974a3d8f80e745280d66eb255e (patch) | |
| tree | e67bafaa45f20a61e798b2e0811090dd46779af3 /lib | |
| parent | 0336ec0477b652f5c80939fe172376aaea028d75 (diff) | |
(김준회) 김혜빈프로 요청사항 반영 - usage==Comment 인 경우 registerKind 조정
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/vendor-document-list/dolce-upload-service.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/vendor-document-list/dolce-upload-service.ts b/lib/vendor-document-list/dolce-upload-service.ts index 8f2fa275..42ca8b0a 100644 --- a/lib/vendor-document-list/dolce-upload-service.ts +++ b/lib/vendor-document-list/dolce-upload-service.ts @@ -682,6 +682,18 @@ class DOLCEUploadService { registerKind = "CMTM" break + case "Comment": + // 김혜빈 프로 요청사항 20250826 + // DrawingKind에 따라 분기 + if (revision.drawingKind === "B3") { + registerKind = "CMTV" // B3(Vendor) Comment + } else if (revision.drawingKind === "B4" && revision.drawingMoveGbn === "GTT Deliverable") { + registerKind = "CMTQ" // B4(GTT) + GTT Deliverable + } else { + registerKind = "CMTV" // 기타 Comment (기본) + } + break + default: console.warn(`Unknown usage type: ${revision.usage}, using default APPR`) registerKind = "APPR" // 기본값 |
