From e9897d416b3e7327bbd4d4aef887eee37751ae82 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Fri, 27 Jun 2025 01:16:20 +0000 Subject: (대표님) 20250627 오전 10시 작업사항 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/techsales-rfq/service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/techsales-rfq/service.ts') diff --git a/lib/techsales-rfq/service.ts b/lib/techsales-rfq/service.ts index ffa29acd..e658747b 100644 --- a/lib/techsales-rfq/service.ts +++ b/lib/techsales-rfq/service.ts @@ -531,7 +531,7 @@ export async function sendTechSalesRfqToVendors(input: { const vendorQuotations = await db.query.techSalesVendorQuotations.findMany({ where: and( eq(techSalesVendorQuotations.rfqId, input.rfqId), - sql`${techSalesVendorQuotations.vendorId} IN (${input.vendorIds.join(',')})` + inArray(techSalesVendorQuotations.vendorId, input.vendorIds) ), columns: { id: true, -- cgit v1.2.3