From 7e7bf65961825935379e744f064466640093290c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A3=BC=EC=88=98=ED=98=84?= Date: Tue, 22 Jul 2025 16:06:41 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AF=B8=EC=82=AC=EC=9A=A9=20=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EB=B8=94=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mappers/notice/GetNoticesMapper.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/front/src/main/resources/mappers/notice/GetNoticesMapper.xml b/front/src/main/resources/mappers/notice/GetNoticesMapper.xml index 589b4707..e532eff7 100644 --- a/front/src/main/resources/mappers/notice/GetNoticesMapper.xml +++ b/front/src/main/resources/mappers/notice/GetNoticesMapper.xml @@ -79,16 +79,15 @@ resultType="app.module.front.usecase.info.notice.getNotices.ports.application.domain.GetNoticeFiles"> /* getUploadFiles : 게시물 리스트의 대표 이미지 */ SELECT - awuf.notice_id, + uf.mapping_id as notice_id, uf.id, uf.type, uf.path, uf.name, uf.origin_name, uf.file_length - FROM notice_has_upload_file awuf - INNER JOIN upload_file uf ON awuf.upload_files_id = uf.id - WHERE awuf.notice_id IN + FROM upload_file uf + WHERE uf.mapping_id IN #{id}