Skip to content

Commit

Permalink
Merge pull request #196 from 9uttery/fix/#194
Browse files Browse the repository at this point in the history
[Fix] user -> achiever로 수정
  • Loading branch information
mingeun0507 authored May 24, 2024
2 parents 6ee1bef + e58596d commit 29f7f83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public boolean checkJoyAlreadyInPlaylist(final Joy addedJoy, final User achiever
.fetchJoin()
.join(achievement.achiever, user)
.fetchJoin()
.where(achievement.achiever.eq(user), joy.eq(addedJoy), achievement.finishInfo.isFinished.isFalse(), achievement.createdAt.between(date.atStartOfDay().plusHours(TODAY_PLAYLIST_TIME_OFFSET), date.atStartOfDay().plusDays(1).minusSeconds(1).plusHours(TODAY_PLAYLIST_TIME_OFFSET)))
.where(achievement.achiever.eq(achiever), joy.eq(addedJoy), achievement.finishInfo.isFinished.isFalse(), achievement.createdAt.between(date.atStartOfDay().plusHours(TODAY_PLAYLIST_TIME_OFFSET), date.atStartOfDay().plusDays(1).minusSeconds(1).plusHours(TODAY_PLAYLIST_TIME_OFFSET)))
.fetchFirst() != null;
}
}

0 comments on commit 29f7f83

Please sign in to comment.