Skip to content

Commit

Permalink
Merge pull request #209 from CoolPeace-yanolza/develop
Browse files Browse the repository at this point in the history
1월 26일 15시 배포
  • Loading branch information
KwonJuHwan authored Jan 26, 2024
2 parents 19a7524 + a3c1eaf commit cd5448d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public List<Coupon> endExposureCoupons(LocalDate nowDate) {
public List<Coupon> startExposureCoupons(LocalDate nowDate) {
return jpaQueryFactory.selectFrom(coupon)
.where(coupon.couponStatus.eq(CouponStatusType.EXPOSURE_WAIT)
.and((coupon.exposureStartDate.after(nowDate))
.and((coupon.exposureStartDate.before(nowDate))
.or(coupon.exposureStartDate.eq(nowDate)))).fetch();
}
}

0 comments on commit cd5448d

Please sign in to comment.