From 5a0496249c48892ad6d82429d7d82ad2e1b56420 Mon Sep 17 00:00:00 2001 From: kimjiisuuu Date: Thu, 27 Jun 2024 15:13:25 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=B8=94=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EB=B0=8F=20impl=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/healthylife/service/Impl/UserServiceImpl.java | 1 + src/main/java/com/example/healthylife/service/UserService.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/example/healthylife/service/Impl/UserServiceImpl.java b/src/main/java/com/example/healthylife/service/Impl/UserServiceImpl.java index b498adc..86e48e6 100644 --- a/src/main/java/com/example/healthylife/service/Impl/UserServiceImpl.java +++ b/src/main/java/com/example/healthylife/service/Impl/UserServiceImpl.java @@ -30,6 +30,7 @@ public List userList(){ } + //회원 단일조회 @Override public Optional findUserById(String userId) { return userRepository.findByUserId(userId); diff --git a/src/main/java/com/example/healthylife/service/UserService.java b/src/main/java/com/example/healthylife/service/UserService.java index 9c94afb..e5327a4 100644 --- a/src/main/java/com/example/healthylife/service/UserService.java +++ b/src/main/java/com/example/healthylife/service/UserService.java @@ -10,7 +10,7 @@ public interface UserService { //회원 전체조회 List userList(); - // TODO + // 회원 단일조회 Optional findUserById(String userId); //회원 등록 UserEntity registerUser(UserEntity userEntity);