From c627a76788c8848133b3980a48702624800ca266 Mon Sep 17 00:00:00 2001 From: YooSeok Lee <64399505+yuseogi0218@users.noreply.github.com> Date: Tue, 19 Mar 2024 09:54:19 +0900 Subject: [PATCH] =?UTF-8?q?FIX=20-=20=EC=9E=90=EC=9E=AC=20=EC=9E=AC?= =?UTF-8?q?=EA=B3=A0=20=EC=88=98=EC=A0=95=20=EC=8B=9C,=20=EC=B5=9C?= =?UTF-8?q?=EA=B7=BC=20=EC=9E=90=EC=9E=AC=20=EC=A1=B0=ED=9A=8C=20=EB=A1=9C?= =?UTF-8?q?=EC=A7=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repository/IngredientStockRepositoryCustomImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/laser/ordermanage/ingredient/repository/IngredientStockRepositoryCustomImpl.java b/src/main/java/com/laser/ordermanage/ingredient/repository/IngredientStockRepositoryCustomImpl.java index 8ea51313..0cd26b71 100644 --- a/src/main/java/com/laser/ordermanage/ingredient/repository/IngredientStockRepositoryCustomImpl.java +++ b/src/main/java/com/laser/ordermanage/ingredient/repository/IngredientStockRepositoryCustomImpl.java @@ -22,7 +22,7 @@ public IngredientStock findPreviousByIngredientIdAndDate(Long ingredientId, Loca .join(ingredientStock.ingredient, ingredient) .where( ingredient.id.eq(ingredientId), - ingredientStock.createdAt.loe(date) + ingredientStock.createdAt.before(date) ) .orderBy(ingredientStock.createdAt.desc()) .fetchFirst();