diff --git a/src/main/java/megabrain/gyeongnamgyeongmae/domain/image/domain/repository/ImageRepository.java b/src/main/java/megabrain/gyeongnamgyeongmae/domain/image/domain/repository/ImageRepository.java index caf90a0..2d8dfa3 100644 --- a/src/main/java/megabrain/gyeongnamgyeongmae/domain/image/domain/repository/ImageRepository.java +++ b/src/main/java/megabrain/gyeongnamgyeongmae/domain/image/domain/repository/ImageRepository.java @@ -9,6 +9,6 @@ @Repository public interface ImageRepository extends JpaRepository { - @Query(value = "select image_url from image where auction_id = :id", nativeQuery = true) + @Query(value = "SELECT DISTINCT * FROM Image where auction_id = :id", nativeQuery = true) List findImageByAuctionItemId(Long id); }