diff --git a/src/main/java/zipdabang/server/domain/member/Terms.java b/src/main/java/zipdabang/server/domain/member/Terms.java index e1ef29b..6a8379e 100644 --- a/src/main/java/zipdabang/server/domain/member/Terms.java +++ b/src/main/java/zipdabang/server/domain/member/Terms.java @@ -27,4 +27,4 @@ public class Terms { @OneToMany(mappedBy = "terms", cascade = CascadeType.ALL) private List termsAgreeList; -} +} \ No newline at end of file diff --git a/src/main/java/zipdabang/server/repository/recipeRepositories/RecipeCategoryRepository.java b/src/main/java/zipdabang/server/repository/recipeRepositories/RecipeCategoryRepository.java index 8ad1e35..494a563 100644 --- a/src/main/java/zipdabang/server/repository/recipeRepositories/RecipeCategoryRepository.java +++ b/src/main/java/zipdabang/server/repository/recipeRepositories/RecipeCategoryRepository.java @@ -5,8 +5,11 @@ import zipdabang.server.domain.recipe.RecipeCategory; import java.util.List; +import java.util.Optional; public interface RecipeCategoryRepository extends JpaRepository { List findAllById(Long categoryId); + + Optional findById(Long id); } diff --git a/src/main/java/zipdabang/server/web/dto/requestDto/MemberRequestDto.java b/src/main/java/zipdabang/server/web/dto/requestDto/MemberRequestDto.java index 72eda38..7595c67 100644 --- a/src/main/java/zipdabang/server/web/dto/requestDto/MemberRequestDto.java +++ b/src/main/java/zipdabang/server/web/dto/requestDto/MemberRequestDto.java @@ -102,6 +102,21 @@ public static class MemberInfoDto { private List preferBeverages; + @Override + public String toString() { + return "MemberInfoDto{" + + "name='" + name + '\'' + + ", birth='" + birth + '\'' + + ", email='" + email + '\'' + + ", gender='" + gender + '\'' + + ", nickname='" + nickname + '\'' + + ", phoneNum='" + phoneNum + '\'' + + ", fcmToken='" + fcmToken + '\'' + + ", serialNumber='" + serialNumber + '\'' + + ", agreeTermsIdList=" + agreeTermsIdList + + ", preferBeverages=" + preferBeverages + + '}'; + } } @Getter diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 2ecc3e9..6d1b4db 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -230,8 +230,8 @@ spring: hbm2ddl: auto: update default_batch_fetch_size: 1000 - show_sql: true - format_sql: true +# show_sql: true +# format_sql: true logging: level: