generated from pricelees/issue-pr-template
refactor: audit 확인 서비스 메서드명 수정
This commit is contained in:
parent
89ada4b146
commit
2f8c2a6a55
@ -90,7 +90,7 @@ class ScheduleService(
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Transactional(readOnly = true)
|
@Transactional(readOnly = true)
|
||||||
fun findScheduleAuditOrUnknown(id: Long): AuditInfo {
|
fun findScheduleAudit(id: Long): AuditInfo {
|
||||||
log.info { "[ScheduleService.findDetail] 일정 감사 정보 조회 시작: id=$id" }
|
log.info { "[ScheduleService.findDetail] 일정 감사 정보 조회 시작: id=$id" }
|
||||||
|
|
||||||
val schedule: ScheduleEntity = findOrThrow(id)
|
val schedule: ScheduleEntity = findOrThrow(id)
|
||||||
|
|||||||
@ -30,7 +30,7 @@ class AdminScheduleController(
|
|||||||
override fun findScheduleAudit(
|
override fun findScheduleAudit(
|
||||||
@PathVariable("id") id: Long
|
@PathVariable("id") id: Long
|
||||||
): ResponseEntity<CommonApiResponse<AuditInfo>> {
|
): ResponseEntity<CommonApiResponse<AuditInfo>> {
|
||||||
val response = scheduleService.findScheduleAuditOrUnknown(id)
|
val response = scheduleService.findScheduleAudit(id)
|
||||||
|
|
||||||
return ResponseEntity.ok(CommonApiResponse(response))
|
return ResponseEntity.ok(CommonApiResponse(response))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user