diff options
| author | joonhoekim <26rote@gmail.com> | 2025-11-26 14:15:23 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-11-26 14:15:23 +0900 |
| commit | 3131dce1f0c90d960f53bd384045b41023064bc4 (patch) | |
| tree | 72d8b189deb3b72f706c45c63fd4cb039ddbee4c /lib/dolce/actions.ts | |
| parent | 530775fb70ea24471b122e1c308cca3a0cd591b1 (diff) | |
(김준회) dolce: b4 일괄업로드건 요구사항대로 수정, DrawingUsage-Comment 건들도 상세도면 생성 가능하도록 변경
(MatchBatchFileDwg/Edit 사용하도록 변경, 호출시 Category 및 status 값 하드코딩해 넣어주도록 변경)
Diffstat (limited to 'lib/dolce/actions.ts')
| -rw-r--r-- | lib/dolce/actions.ts | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/lib/dolce/actions.ts b/lib/dolce/actions.ts index 8c5dfa1b..cd276fac 100644 --- a/lib/dolce/actions.ts +++ b/lib/dolce/actions.ts @@ -145,7 +145,7 @@ export interface DetailDwgEditRequest { RegisterGroupId: number; RegisterSerialNo: number; RegisterKind: string; - DrawingRevNo: string; + DrawingRevNo: string | null; Category: string; Receiver: string | null; Manager: string; @@ -716,14 +716,22 @@ export interface B4MappingSaveItem { export async function saveB4MappingBatch( mappingSaveLists: B4MappingSaveItem[], - userId: string + userInfo: { + userId: string; + userName: string; + vendorCode: string; + email: string; + } ): Promise<number> { try { const response = await dolceApiCall<{ MatchBatchFileDwgEditResult: number; }>("MatchBatchFileDwgEdit", { mappingSaveLists, - UserID: userId, + UserID: userInfo.userId, + UserNM: userInfo.userName, + VENDORCODE: userInfo.vendorCode, + EMAIL: userInfo.email, }); return response.MatchBatchFileDwgEditResult; |
