diff options
Diffstat (limited to 'lib/bidding/pre-quote')
| -rw-r--r-- | lib/bidding/pre-quote/service.ts | 8 | ||||
| -rw-r--r-- | lib/bidding/pre-quote/table/bidding-pre-quote-selection-dialog.tsx | 3 |
2 files changed, 4 insertions, 7 deletions
diff --git a/lib/bidding/pre-quote/service.ts b/lib/bidding/pre-quote/service.ts index e1df986e..7a5db949 100644 --- a/lib/bidding/pre-quote/service.ts +++ b/lib/bidding/pre-quote/service.ts @@ -146,7 +146,7 @@ export async function updateBiddingCompany(id: number, input: UpdateBiddingCompa } // 본입찰 등록 상태 업데이트 (복수 업체 선택 가능) -export async function updatePreQuoteSelection(companyIds: number[], isSelected: boolean, userId: string) { +export async function updatePreQuoteSelection(companyIds: number[], isSelected: boolean) { try { // 업체들의 입찰 ID 조회 (캐시 무효화를 위해) const companies = await db @@ -681,8 +681,7 @@ export async function submitPreQuoteResponse( // Partners에서 사전견적 참여 의사 결정 (수락/거절) export async function respondToPreQuoteInvitation( biddingCompanyId: number, - response: 'accepted' | 'declined', - userId: string + response: 'accepted' | 'declined' ) { try { await db.update(biddingCompanies) @@ -713,8 +712,7 @@ export async function respondToPreQuoteInvitation( // 벤더에서 사전견적 참여 여부 결정 (isPreQuoteSelected, isPreQuoteParticipated 사용) export async function setPreQuoteParticipation( biddingCompanyId: number, - isParticipating: boolean, - userId: string + isParticipating: boolean ) { try { await db.update(biddingCompanies) diff --git a/lib/bidding/pre-quote/table/bidding-pre-quote-selection-dialog.tsx b/lib/bidding/pre-quote/table/bidding-pre-quote-selection-dialog.tsx index 7de79771..e0194f2a 100644 --- a/lib/bidding/pre-quote/table/bidding-pre-quote-selection-dialog.tsx +++ b/lib/bidding/pre-quote/table/bidding-pre-quote-selection-dialog.tsx @@ -43,8 +43,7 @@ export function BiddingPreQuoteSelectionDialog({ startTransition(async () => { const result = await updatePreQuoteSelection( companyIds, - isSelected, - 'current-user' // TODO: 실제 사용자 ID + isSelected ) if (result.success) { |
