From 3414520a0ba68c367ff1e965ff718552db99aa94 Mon Sep 17 00:00:00 2001
From: kimhyun5u <22kimhyun5u@gmail.com>
Date: Sun, 18 Aug 2024 15:38:37 +0900
Subject: [PATCH 01/21] =?UTF-8?q?[feat]=20MenuRepository=20=EC=88=98?=
=?UTF-8?q?=EC=A0=95=20-=20MenuRepository.findByIdForUpdate:=20=EB=B9=84?=
=?UTF-8?q?=EA=B4=80=EC=A0=81=20=EB=9D=BD=EC=9D=84=20=EC=A0=81=EC=9A=A9?=
=?UTF-8?q?=ED=95=9C=20findById=20-=20MenuRepository.updateStock:=20?=
=?UTF-8?q?=EB=A9=94=EB=89=B4=20=EC=88=98=EB=9F=89=20=EB=B3=80=EA=B2=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../woowak/lab/menu/repository/MenuRepository.java | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/main/java/camp/woowak/lab/menu/repository/MenuRepository.java b/src/main/java/camp/woowak/lab/menu/repository/MenuRepository.java
index a1de78e7..44c794c6 100644
--- a/src/main/java/camp/woowak/lab/menu/repository/MenuRepository.java
+++ b/src/main/java/camp/woowak/lab/menu/repository/MenuRepository.java
@@ -5,6 +5,7 @@
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Lock;
+import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
@@ -18,4 +19,17 @@ public interface MenuRepository extends JpaRepository