Skip to content

Commit

Permalink
fix: 평일 전체 시간표 테스트용으로 요일 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Soyeon-Cha authored Mar 17, 2024
1 parent d7ebe63 commit 4891efc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,14 @@ public StopTimetable getStopTimetable(Integer stopId){
List<TimeResponseDto> downs = new ArrayList<>();

// 현재 요일 구하기 (월:1, ..., 일:7)
/*
LocalDate today = LocalDate.now();
DayOfWeek dayOfWeek = today.getDayOfWeek();
int dayOfWeekNumber = dayOfWeek.getValue();
*/
int dayOfWeekNumber = 1;

// 주간 상행. 연협행, 한우리행 섞여있고, 시간순으로 정렬해서 조회
// 주간 상행. 연협행, 한우리행 섞여있고, 시간순으로 정렬해서 조회
List<TimeTableDay> dayUps = timeTableDayRepository.findByIsUpboundOrderByDepartureTimeAsc(Boolean.TRUE);

// 주간 하행. 연협행, 한우리행 섞여있고, 시간순으로 정렬해서 조회
Expand Down

0 comments on commit 4891efc

Please sign in to comment.