Skip to content

Commit

Permalink
[PDS-197] fix: 해당 일시의 차량 예약 내역 조회 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sojungpp committed Dec 1, 2023
1 parent 73c819e commit 528d07d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public ProductBookingRes findCarBookingByDate(Car car, LocalDateTime standardDat
.selectFrom(carBooking)
.where(carBooking.car.eq(car),
(carBooking.status.notIn(BookingStatus.CANCELED)),
(carBooking.startDate.before(standardDate)),
(carBooking.startDate.loe(standardDate)),
(carBooking.endDate.after(standardDate))
).orderBy(carBooking.startDate.asc())
.fetchOne();
Expand Down

0 comments on commit 528d07d

Please sign in to comment.