From 272646aafbefecda61bfb9adaccd512d69a11a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B5=AC=ED=99=98=EC=A4=80/=EB=AA=A8=EA=B1=B4?= Date: Thu, 8 Aug 2024 17:08:42 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20@Transactional=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../treehouse/server/api/branch/business/BranchService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/treehouse/server/api/branch/business/BranchService.java b/src/main/java/treehouse/server/api/branch/business/BranchService.java index dc3217a..c8d09b3 100644 --- a/src/main/java/treehouse/server/api/branch/business/BranchService.java +++ b/src/main/java/treehouse/server/api/branch/business/BranchService.java @@ -40,7 +40,6 @@ public void createBranch(TreeHouse treeHouse, Member inviter, Member invitee) { * @param targetMemberId * @return BranchResponseDTO.getMemberBranchView */ - @Transactional(readOnly = true) public BranchResponseDTO.getMemberBranchView getMemberBranchView(User user, Long treehouseId, Long targetMemberId) { TreeHouse treeHouse = treehouseQueryAdapter.getTreehouseById(treehouseId); @@ -67,7 +66,6 @@ public BranchResponseDTO.getMemberBranchView getMemberBranchView(User user, Long } - @Transactional(readOnly = true) public BranchResponseDTO.getCompleteBranchView getCompleteBranchView(User user, Long treehouseId) { TreeHouse treeHouse = treehouseQueryAdapter.getTreehouseById(treehouseId); List branches = branchQueryAdapter.findAllByTreeHouse(treeHouse); // 트리하우스 내 모든 브랜치 조회