diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-22 08:20:45 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-22 08:20:45 +0000 |
| commit | d38877eef87917087a4a217bea32ae84d6738a7d (patch) | |
| tree | 8713d9239e6fb34c4ca0704129906044784b30e5 /lib/techsales-rfq/service.ts | |
| parent | e9b1bf22cf2f45a7db8152f7ba83af7799ed71a5 (diff) | |
(최겸) 인포메이션 첨부파일 뷰어 추가
Diffstat (limited to 'lib/techsales-rfq/service.ts')
| -rw-r--r-- | lib/techsales-rfq/service.ts | 2 |
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) {
|
