From ffdfaaa49a8253d0ae2055c52f7d39170731bfe6 Mon Sep 17 00:00:00 2001 From: pkl0912 Date: Tue, 16 Jan 2024 18:27:20 +0900 Subject: [PATCH] =?UTF-8?q?=EB=94=94=EC=9E=90=EC=9D=B4=EB=84=88=20?= =?UTF-8?q?=EC=9D=B4=EB=A6=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/designer/repository/DesignerJpaRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/moddy/server/domain/designer/repository/DesignerJpaRepository.java b/src/main/java/com/moddy/server/domain/designer/repository/DesignerJpaRepository.java index 0c0c58d9..02091670 100644 --- a/src/main/java/com/moddy/server/domain/designer/repository/DesignerJpaRepository.java +++ b/src/main/java/com/moddy/server/domain/designer/repository/DesignerJpaRepository.java @@ -11,7 +11,7 @@ public interface DesignerJpaRepository extends JpaRepository { @Modifying(clearAutomatically = true) - @Query(value = "insert into Designer (id, hair_shop_address, hair_shop_detail_address, hair_shop_name, instagram_url, naver_place_url, introduction, kakao_open_chat_url) VALUES (:id, :hairShopAddress, :hairShopDetailAddress, :hairShopName, :instagramUrl, :naverPlaceUrl, :introduction, :kakaoOpenChatUrl)", nativeQuery = true) + @Query(value = "insert into designer (id, hair_shop_address, hair_shop_detail_address, hair_shop_name, instagram_url, naver_place_url, introduction, kakao_open_chat_url) VALUES (:id, :hairShopAddress, :hairShopDetailAddress, :hairShopName, :instagramUrl, :naverPlaceUrl, :introduction, :kakaoOpenChatUrl)", nativeQuery = true) void designerRegister(@Param("id") Long id, @Param("hairShopAddress") String hairShopAddress, @Param("hairShopDetailAddress") String hairShopDetailAddress, @Param("hairShopName") String hairShopName, @Param("instagramUrl") String instagramUrl, @Param("naverPlaceUrl") String naverPlaceUrl, @Param("introduction") String introduction, @Param("kakaoOpenChatUrl") String kakaoOpenChatUrl); Optional findById(Long userId);