Skip to content

Commit

Permalink
Merge pull request #112 from Modagbul/feat/mission-alarm
Browse files Browse the repository at this point in the history
Feat/mission alarm
  • Loading branch information
seungueonn authored Dec 4, 2023
2 parents f59a2fa + 7ac6681 commit 1e08f5b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public Optional<List<GatherRepeatMissionRes>> findRepeatMissionByMemberId(Long m
mission.type.eq(MissionType.REPEAT)
)
.groupBy(mission.id)
.orderBy(missionArchive.count().desc())
.fetch());
}

Expand Down Expand Up @@ -124,7 +125,7 @@ public Optional<List<GatherSingleMissionRes>> findSingleMissionByMemberId(Long m
mission.type.eq(MissionType.ONCE),
missionState.id.isNull()
)
.orderBy(mission.dueTo.desc())
.orderBy(mission.dueTo.asc())
.fetch());
}

Expand Down

0 comments on commit 1e08f5b

Please sign in to comment.