Skip to content

Commit

Permalink
[Feat] 기수정보 오름차순 정렬
Browse files Browse the repository at this point in the history
  • Loading branch information
NARUBROWN committed Feb 14, 2024
1 parent a911450 commit 4db378f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public interface GroupRepository extends JpaRepository<Group, Long> {

List<Group> findAllByMember_Name(String name);

@Query("SELECT DISTINCT e.year FROM Group e")
@Query("SELECT DISTINCT e.year FROM Group e ORDER BY e.year")
List<Double> findAllYears();

List<Group> findAllByYearAndPart(Double year, String part);
Expand Down

0 comments on commit 4db378f

Please sign in to comment.