Skip to content

Commit

Permalink
fix : 선생님 알림톡 전송 결과 정렬 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Mar 6, 2025
1 parent 9231ba3 commit a071621
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ public List<ClassMatching> allByApplicationForm(String applicationFormId) {

private OrderSpecifier<Integer> statusOrderSpecifier() {
return new CaseBuilder()
.when(classMatching.matchStatus.eq(MatchingStatus.수락)).then(1)
.when(classMatching.matchStatus.eq(MatchingStatus.거절)).then(2)
.when(classMatching.matchStatus.eq(MatchingStatus.대기)).then(3)
.when(classMatching.matchStatus.eq(MatchingStatus.전송)).then(4)
.when(classMatching.matchStatus.eq(MatchingStatus.전송)).then(1)
.when(classMatching.matchStatus.eq(MatchingStatus.수락)).then(2)
.when(classMatching.matchStatus.eq(MatchingStatus.거절)).then(3)
.when(classMatching.matchStatus.eq(MatchingStatus.대기)).then(4)
.otherwise(Integer.MAX_VALUE)
.asc();
}
Expand Down

0 comments on commit a071621

Please sign in to comment.