미사용 테이블 삭제
This commit is contained in:
@@ -79,16 +79,15 @@
|
|||||||
resultType="app.module.front.usecase.info.notice.getNotices.ports.application.domain.GetNoticeFiles">
|
resultType="app.module.front.usecase.info.notice.getNotices.ports.application.domain.GetNoticeFiles">
|
||||||
/* getUploadFiles : 게시물 리스트의 대표 이미지 */
|
/* getUploadFiles : 게시물 리스트의 대표 이미지 */
|
||||||
SELECT
|
SELECT
|
||||||
awuf.notice_id,
|
uf.mapping_id as notice_id,
|
||||||
uf.id,
|
uf.id,
|
||||||
uf.type,
|
uf.type,
|
||||||
uf.path,
|
uf.path,
|
||||||
uf.name,
|
uf.name,
|
||||||
uf.origin_name,
|
uf.origin_name,
|
||||||
uf.file_length
|
uf.file_length
|
||||||
FROM notice_has_upload_file awuf
|
FROM upload_file uf
|
||||||
INNER JOIN upload_file uf ON awuf.upload_files_id = uf.id
|
WHERE uf.mapping_id IN
|
||||||
WHERE awuf.notice_id IN
|
|
||||||
<foreach collection="ids" item="id" open="(" separator="," close=")">
|
<foreach collection="ids" item="id" open="(" separator="," close=")">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|||||||
Reference in New Issue
Block a user