From 30f5121ae00dedcc6ebf4211a67bf5da3b90cc08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=ED=98=9C=EB=A0=B9?= Date: Wed, 31 Jul 2024 23:03:34 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shareGroup/controller/ShareGroupController.java | 12 ++++++------ .../umc/naoman/domain/shareGroup/entity/Profile.java | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/umc/naoman/domain/shareGroup/controller/ShareGroupController.java b/src/main/java/com/umc/naoman/domain/shareGroup/controller/ShareGroupController.java index c4d8ec7..7477dbc 100644 --- a/src/main/java/com/umc/naoman/domain/shareGroup/controller/ShareGroupController.java +++ b/src/main/java/com/umc/naoman/domain/shareGroup/controller/ShareGroupController.java @@ -1,7 +1,5 @@ package com.umc.naoman.domain.shareGroup.controller; -import com.umc.naoman.domain.member.converter.MemberConverter; -import com.umc.naoman.domain.member.dto.MemberResponse; import com.umc.naoman.domain.member.entity.Member; import com.umc.naoman.domain.shareGroup.converter.ShareGroupConverter; import com.umc.naoman.domain.shareGroup.dto.ShareGroupRequest; @@ -10,7 +8,6 @@ import com.umc.naoman.domain.shareGroup.entity.ShareGroup; import com.umc.naoman.domain.shareGroup.service.ShareGroupService; import com.umc.naoman.global.result.ResultResponse; -import com.umc.naoman.global.result.code.MemberResultCode; import com.umc.naoman.global.result.code.ShareGroupResultCode; import com.umc.naoman.global.security.annotation.LoginMember; import io.swagger.v3.oas.annotations.Operation; @@ -18,9 +15,12 @@ import io.swagger.v3.oas.annotations.Parameters; import jakarta.validation.Valid; import lombok.RequiredArgsConstructor; -import org.springframework.security.core.annotation.AuthenticationPrincipal; -import org.springframework.validation.annotation.Validated; -import org.springframework.web.bind.annotation.*; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; import java.util.List; diff --git a/src/main/java/com/umc/naoman/domain/shareGroup/entity/Profile.java b/src/main/java/com/umc/naoman/domain/shareGroup/entity/Profile.java index 29e4e67..47a5ff3 100644 --- a/src/main/java/com/umc/naoman/domain/shareGroup/entity/Profile.java +++ b/src/main/java/com/umc/naoman/domain/shareGroup/entity/Profile.java @@ -35,7 +35,7 @@ public class Profile { @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "share_group_id") private ShareGroup shareGroup; - @Column(name = "joined_at", nullable = false, updatable = false) + @Column(name = "joined_at") private LocalDateTime joinedAt; @Column(name = "deleted_at") private LocalDateTime deletedAt;