Skip to content

Commit

Permalink
Merge pull request #177 from Make-A-Wish-Sopt/jiyoung_#165-develop
Browse files Browse the repository at this point in the history
[FIX] 소원 시작 날짜 조건 제외
  • Loading branch information
wlwpfh authored Feb 25, 2024
2 parents 40343b0 + 965ddaa commit 744989e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ public List<Wish> findEndWishes(User wisher, int expiryDay) {

private BooleanBuilder conflictTerm(LocalDateTime from, LocalDateTime to, int expiryDay) {
val booleanBuilder = new BooleanBuilder();
booleanBuilder.or(wish.startAt.between(from, to));
booleanBuilder.or(wish.endAt.between(from.minusDays(expiryDay), to));
return booleanBuilder;
}
Expand Down

0 comments on commit 744989e

Please sign in to comment.