From 1e7651d98751535ef9351aaa87721c8d3d36031f Mon Sep 17 00:00:00 2001 From: jeongju Date: Wed, 25 Dec 2024 23:32:48 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A7=80=EC=9B=90=EC=9E=90=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EC=88=98=EC=A0=95=EC=97=90=20=EB=B9=84=EB=B0=80?= =?UTF-8?q?=EB=B2=88=ED=98=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../user/model/dto/request/ApplicantUpdateRequestDto.java | 4 +++- .../com/likelion/innerjoin/user/service/ApplicantService.java | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/likelion/innerjoin/user/model/dto/request/ApplicantUpdateRequestDto.java b/src/main/java/com/likelion/innerjoin/user/model/dto/request/ApplicantUpdateRequestDto.java index 9909f80..f561441 100644 --- a/src/main/java/com/likelion/innerjoin/user/model/dto/request/ApplicantUpdateRequestDto.java +++ b/src/main/java/com/likelion/innerjoin/user/model/dto/request/ApplicantUpdateRequestDto.java @@ -12,12 +12,14 @@ public class ApplicantUpdateRequestDto { private String name; private String major; private String phoneNum; + private String password; @Builder - public ApplicantUpdateRequestDto(String name, String major, String phoneNum) { + public ApplicantUpdateRequestDto(String name, String major, String phoneNum, String password) { this.name = name; //this.school = school; this.major = major; this.phoneNum = phoneNum; + this.password = password; } } diff --git a/src/main/java/com/likelion/innerjoin/user/service/ApplicantService.java b/src/main/java/com/likelion/innerjoin/user/service/ApplicantService.java index 39cac0d..f36da74 100644 --- a/src/main/java/com/likelion/innerjoin/user/service/ApplicantService.java +++ b/src/main/java/com/likelion/innerjoin/user/service/ApplicantService.java @@ -121,6 +121,7 @@ public void updateApplicantInfo(Long applicantId, ApplicantUpdateRequestDto upda //applicant.setSchool(updateRequestDto.getSchool()); applicant.setMajor(updateRequestDto.getMajor()); applicant.setPhoneNum(updateRequestDto.getPhoneNum()); + applicant.setPassword(updateRequestDto.getPassword()); applicantRepository.save(applicant); } } \ No newline at end of file