From eb04f822f809286308ec9875054ff4df86c28a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=5BCLOUD4=5D=20=EA=B3=A0=EB=B2=94=EC=84=9D?= Date: Thu, 10 Apr 2025 22:42:59 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20data=20=EC=B4=88=EA=B8=B0=ED=99=94=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UserInterest/dto/InterestSelectionRequestDto.java | 9 --------- src/main/resources/application.yml | 3 --- 2 files changed, 12 deletions(-) diff --git a/src/main/java/com/hyetaekon/hyetaekon/UserInterest/dto/InterestSelectionRequestDto.java b/src/main/java/com/hyetaekon/hyetaekon/UserInterest/dto/InterestSelectionRequestDto.java index a092d0e..a34be5e 100644 --- a/src/main/java/com/hyetaekon/hyetaekon/UserInterest/dto/InterestSelectionRequestDto.java +++ b/src/main/java/com/hyetaekon/hyetaekon/UserInterest/dto/InterestSelectionRequestDto.java @@ -10,19 +10,10 @@ public class InterestSelectionRequestDto { private Map> categorizedInterests; - // 기존 필드 유지 - private List selectedInterests; - - // categorizedInterests에서 모든 관심사를 추출하는 메소드 public List getAllInterests() { - if (selectedInterests != null) { - return selectedInterests; - } - if (categorizedInterests == null) { return new ArrayList<>(); } - List allInterests = new ArrayList<>(); categorizedInterests.values().forEach(allInterests::addAll); return allInterests; diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 26750a1..315d5b6 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -29,9 +29,6 @@ spring: order_updates: true jdbc: batch_size: 1000 - sql: - init: - mode: always # data.sql 실행 profiles: active: dev, s3Bucket # logback-spring SpringProfile 설정 및 AWS S3 Bucket 설정