From 19049956386a2f607517bacfa859e02f540c98df Mon Sep 17 00:00:00 2001 From: summit45 Date: Mon, 20 Nov 2023 23:31:02 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9D=8C=EC=8B=9D=20=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=20=EC=A1=B0=ED=9A=8C=EC=8B=9C=20=EA=B0=80=EA=B2=8C=20=EC=9D=B4?= =?UTF-8?q?=EB=A6=84=EB=8F=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/kusitms/jipbap/food/FoodService.java | 1 + .../java/com/kusitms/jipbap/food/dto/FoodDetailResponse.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/kusitms/jipbap/food/FoodService.java b/src/main/java/com/kusitms/jipbap/food/FoodService.java index 5388be0..9b5835f 100644 --- a/src/main/java/com/kusitms/jipbap/food/FoodService.java +++ b/src/main/java/com/kusitms/jipbap/food/FoodService.java @@ -130,6 +130,7 @@ public FoodDetailResponse getFoodDetail(Long foodId) { return FoodDetailResponse.builder() .id(food.getId()) .storeId(food.getStore().getId()) + .storeName(food.getStore().getName()) .categoryId(food.getCategory().getId()) .name(food.getName()) .dollarPrice(food.getDollarPrice()) diff --git a/src/main/java/com/kusitms/jipbap/food/dto/FoodDetailResponse.java b/src/main/java/com/kusitms/jipbap/food/dto/FoodDetailResponse.java index 2b1d36e..f408752 100644 --- a/src/main/java/com/kusitms/jipbap/food/dto/FoodDetailResponse.java +++ b/src/main/java/com/kusitms/jipbap/food/dto/FoodDetailResponse.java @@ -12,6 +12,7 @@ public class FoodDetailResponse { private Long id; private Long storeId; + private String storeName; private Long categoryId; private String name; private Long dollarPrice;