Skip to content

Commit

Permalink
Merge pull request #99 from PLADI-ALM/fix/PDS-15-QueryDsl
Browse files Browse the repository at this point in the history
[PDS-15/hotfix] 회의실 예약 API 상태 추가 쿼리 변경
  • Loading branch information
chaerlo127 authored Oct 16, 2023
2 parents 407ca05 + 444df66 commit 8b2ad4b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public Boolean existsByDateAndTime(Office office, LocalDate date, LocalTime star
.from(officeBooking)
.where(officeBooking.date.eq(date)
.and(checkStartTimeOrEndTime(startTime, endTime))
.and(officeBooking.office.eq(office)))
.and(officeBooking.office.eq(office))
.and(officeBooking.status.in(BookingStatus.BOOKED, BookingStatus.USING)))
.fetchFirst();
return fetchOne != null;
}
Expand Down

0 comments on commit 8b2ad4b

Please sign in to comment.