Skip to content

Commit

Permalink
fix(AppointmentOptionRepository) : merge 충돌로 인한 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
0-tae committed Feb 26, 2025
1 parent dfdba8e commit 095bc54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import org.springframework.stereotype.Repository;

import java.time.LocalDate;
import java.util.List;

@Repository
public interface AppointmentOptionRepository extends JpaRepository<AppointmentOption, Long> {
Expand Down Expand Up @@ -54,13 +53,14 @@ default AppointmentOption getAllByAppointmentConfirmedBetweenDate(
Appointment appointment,
LocalDate startDate,
LocalDate endDate
){
) {
return findAllByAppointmentConfirmedBetweenDate(
appointment.getId(),
AppointmentOptionStatus.CONFIRMED.name(),
startDate,
endDate
);
}

default AppointmentOption getById(Long optionId){
return findById(optionId)
Expand Down

0 comments on commit 095bc54

Please sign in to comment.