From 98b77794d0be5559b239f794f698de5853ca9cb1 Mon Sep 17 00:00:00 2001 From: wonjunYou Date: Mon, 4 Nov 2024 16:34:28 +0900 Subject: [PATCH] =?UTF-8?q?[IDLE-495]=20=EA=B3=B5=EA=B3=A0=20=EB=A7=88?= =?UTF-8?q?=EA=B0=90=20=EC=B2=98=EB=A6=AC=20=EB=A9=94=EC=84=9C=EB=93=9C?= =?UTF-8?q?=EB=AA=85=20=EB=B3=80=EA=B2=BD=20complete=20->=20completed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../idle/application/jobposting/domain/JobPostingService.kt | 2 +- .../jobposting/facade/CenterJobPostingFacadeService.kt | 4 ++-- .../jobposting/controller/CenterJobPostingController.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/idle-application/src/main/kotlin/com/swm/idle/application/jobposting/domain/JobPostingService.kt b/idle-application/src/main/kotlin/com/swm/idle/application/jobposting/domain/JobPostingService.kt index b5a4416c..2bf2c274 100644 --- a/idle-application/src/main/kotlin/com/swm/idle/application/jobposting/domain/JobPostingService.kt +++ b/idle-application/src/main/kotlin/com/swm/idle/application/jobposting/domain/JobPostingService.kt @@ -190,7 +190,7 @@ class JobPostingService( jobPosting.delete() } - fun updateToComplete(jobPosting: JobPosting) { + fun updateToCompleted(jobPosting: JobPosting) { jobPosting.updateToCompleted() } diff --git a/idle-application/src/main/kotlin/com/swm/idle/application/jobposting/facade/CenterJobPostingFacadeService.kt b/idle-application/src/main/kotlin/com/swm/idle/application/jobposting/facade/CenterJobPostingFacadeService.kt index 2b032e7a..79ac4119 100644 --- a/idle-application/src/main/kotlin/com/swm/idle/application/jobposting/facade/CenterJobPostingFacadeService.kt +++ b/idle-application/src/main/kotlin/com/swm/idle/application/jobposting/facade/CenterJobPostingFacadeService.kt @@ -193,9 +193,9 @@ class CenterJobPostingFacadeService( } @Transactional - fun updateToComplete(jobPostingId: UUID) { + fun updateToCompleted(jobPostingId: UUID) { jobPostingService.getById(jobPostingId).let { - jobPostingService.updateToComplete(it) + jobPostingService.updateToCompleted(it) } } diff --git a/idle-presentation/src/main/kotlin/com/swm/idle/presentation/jobposting/controller/CenterJobPostingController.kt b/idle-presentation/src/main/kotlin/com/swm/idle/presentation/jobposting/controller/CenterJobPostingController.kt index 143b7078..0faaf68f 100644 --- a/idle-presentation/src/main/kotlin/com/swm/idle/presentation/jobposting/controller/CenterJobPostingController.kt +++ b/idle-presentation/src/main/kotlin/com/swm/idle/presentation/jobposting/controller/CenterJobPostingController.kt @@ -35,7 +35,7 @@ class CenterJobPostingController( } override fun completeJobPosting(jobPostingId: UUID) { - centerJobPostingFacadeService.updateToComplete(jobPostingId) + centerJobPostingFacadeService.updateToCompleted(jobPostingId) } override fun getJobPostingDetail(jobPostingId: UUID): CenterJobPostingResponse {