summaryrefslogtreecommitdiff
path: root/lib/techsales-rfq/service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/techsales-rfq/service.ts')
-rw-r--r--lib/techsales-rfq/service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/techsales-rfq/service.ts b/lib/techsales-rfq/service.ts
index 5ec02f63..3736bf76 100644
--- a/lib/techsales-rfq/service.ts
+++ b/lib/techsales-rfq/service.ts
@@ -1758,7 +1758,7 @@ export async function processTechSalesRfqAttachments(params: {
// 1. 삭제할 첨부파일 처리
if (deleteAttachmentIds.length > 0) {
const attachmentsToDelete = await tx.query.techSalesAttachments.findMany({
- where: sql`${techSalesAttachments.id} IN (${deleteAttachmentIds.join(',')})`
+ where: inArray(techSalesAttachments.id, deleteAttachmentIds)
});
for (const attachment of attachmentsToDelete) {