Skip to content

Commit

Permalink
chore: (#679) queryCurrentOutingApplicationAsCompanionVO 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
zios0707 committed Jul 30, 2024
1 parent 03a22bc commit b72c181
Show file tree
Hide file tree
Showing 5 changed files with 159 additions and 219 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,4 @@ interface GetOutingService {
fun getOutingCompanionsByApplicationId(outingApplicationId: UUID): List<OutingCompanionDetailsVO>

fun getOutingAvailableTimeById(outingAvailableTimeId: UUID): OutingAvailableTime

fun getCurrentOutingApplicationAsCompanion(studentId: UUID): CurrentOutingApplicationVO
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,4 @@ class GetOutingServiceImpl(
override fun getOutingAvailableTimeById(outingAvailableTimeId: UUID): OutingAvailableTime =
queryOutingAvailableTimePort.queryOutingAvailableTimeById(outingAvailableTimeId)
?: throw OutingAvailableTimeNotFoundException

override fun getCurrentOutingApplicationAsCompanion(studentId: UUID): CurrentOutingApplicationVO =
queryOutingApplicationPort.queryCurrentOutingApplicationAsCompanionVO(studentId)
?: throw OutingApplicationNotFoundException
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,5 @@ interface QueryOutingApplicationPort {

fun queryOutingHistoriesByStudentNameAndDate(studentName: String?, date: LocalDate): List<OutingHistoryVO>

fun queryCurrentOutingApplicationAsCompanionVO(studentId: UUID): CurrentOutingApplicationVO?

fun isApplicant(studentId: UUID): Boolean
}
Loading

0 comments on commit b72c181

Please sign in to comment.