diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-11-24 02:52:34 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-11-24 02:52:34 +0000 |
| commit | 58d700b925967bfe470c944b380b02b2140cab8a (patch) | |
| tree | e445dc37215f048759542e198cf6c5f41ebb0d5c /lib/techsales-rfq/approval-handlers.ts | |
| parent | 26365ef08588d53b8c5d9c7cfaefb244536e6743 (diff) | |
(최겸) 구매 기술영업 결재 개발, 입찰 수정
Diffstat (limited to 'lib/techsales-rfq/approval-handlers.ts')
| -rw-r--r-- | lib/techsales-rfq/approval-handlers.ts | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/techsales-rfq/approval-handlers.ts b/lib/techsales-rfq/approval-handlers.ts index 6ffd9fb4..0d4629e4 100644 --- a/lib/techsales-rfq/approval-handlers.ts +++ b/lib/techsales-rfq/approval-handlers.ts @@ -98,15 +98,7 @@ export async function sendTechSalesRfqWithApprovalInternal(payload: { } } - // 2. RFQ 상태를 "RFQ Sent"로 변경 - await db.update(techSalesRfqs) - .set({ - status: TECH_SALES_RFQ_STATUSES.RFQ_SENT, - updatedAt: new Date(), - }) - .where(eq(techSalesRfqs.id, payload.rfqId)); - - // 3. 실제 RFQ 발송 실행 + // 2. 실제 RFQ 발송 실행 (상태 변경과 이메일 발송은 sendTechSalesRfqToVendors에서 처리) const sendResult = await sendTechSalesRfqToVendors({ rfqId: payload.rfqId, vendorIds: payload.vendorIds, |
