Skip to content

Commit

Permalink
Fix : #113 최신순 정렬
Browse files Browse the repository at this point in the history
  • Loading branch information
BYEONGRYEOL committed Aug 9, 2024
1 parent 706d01d commit a7a86ef
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public interface PictureCompletedRepository extends JpaRepository<PictureComplet
+ "join PictureGenerateResponse pgres "
+ "where pgres.request.requester = :requester "
+ "and pgres.status = com.gt.genti.picturegenerateresponse.model.PictureGenerateResponseStatus.COMPLETED "
+ "and p.pictureGenerateResponse.id = pgres.id ")
+ "and p.pictureGenerateResponse.id = pgres.id "
+ "order by p.createdAt desc ")
List<PictureCompleted> findAllByRequesterOrderByCreatedAtDesc(@Param(value = "requester") User requester);
}

0 comments on commit a7a86ef

Please sign in to comment.