-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: 강의실 조회 시 해당 날짜에 해당하는 예약 없을 경우 발생하는 에러 수정
에러 발생 -> 예약 없을 시 빈 리스트 반환으로 변경
- Loading branch information
임채영
authored and
임채영
committed
Nov 9, 2024
1 parent
656f81f
commit 450a122
Showing
7 changed files
with
102 additions
and
51 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
src/main/java/com/groomiz/billage/classroom/dto/AdminReservationSearchByClassroomCond.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.groomiz.billage.classroom.dto; | ||
|
||
import com.groomiz.billage.classroom.entity.Classroom; | ||
import com.groomiz.billage.global.dto.PageRequestDto; | ||
import lombok.AccessLevel; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.time.LocalDate; | ||
|
||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
@Getter | ||
public class AdminReservationSearchByClassroomCond extends PageRequestDto { | ||
|
||
private Classroom classroom; | ||
private LocalDate applyDate; | ||
|
||
@Builder | ||
public AdminReservationSearchByClassroomCond(Classroom classroom, LocalDate applyDate) { | ||
this.classroom = classroom; | ||
this.applyDate = applyDate; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters