Skip to content

Commit

Permalink
Merge pull request #76 from Y-edu/develop
Browse files Browse the repository at this point in the history
fix : 선생님 알림톡 전송 결과 정렬 수정
  • Loading branch information
ywj9811 authored Mar 6, 2025
2 parents 676fc67 + a071621 commit f603c0a
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 f603c0a

Please sign in to comment.