Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rudeh2926 committed Feb 8, 2025
1 parent 5ae8781 commit 734edcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class QueryTimetableService(
@Transactional(readOnly = true)
override fun queryDayTimetable(): DayTimetableResponse {
val user = userFacadeUseCase.currentUser()
val date = LocalDate.of(2024, 9, 19)
val date = LocalDate.of(2024, 9, 2)

val tables = findTimetableByDatePort.findTimetableByDayWeekPort(date.dayOfWeek.value, user.grade, user.classNum)
val dayResponses = mutableListOf<PeriodTimetableResponse>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class QueryWeekTimetableService(
@Transactional(readOnly = true)
override fun queryWeekTimetable(): List<DayTimetableResponse> {
val user = userFacadeUseCase.currentUser()
val startOfWeek = getStartOfWeek(LocalDate.of(2024, 9, 19))
val startOfWeek = getStartOfWeek(LocalDate.of(2024, 9, 2))

return (0 until 5).map { i ->
val date = startOfWeek.plusDays(i.toLong()) //주의 시작날부터 i일 후의 날짜까지 를 계산
Expand Down

0 comments on commit 734edcf

Please sign in to comment.