From f0a48e293acd4d5f68c62846bb48cb90e2845085 Mon Sep 17 00:00:00 2001 From: sonshn Date: Fri, 5 Jul 2024 21:57:25 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20=EC=8B=9D=EB=AC=BC=20=EC=A1=B0=ED=9A=8C?= =?UTF-8?q?:=20=EC=82=AC=EC=9A=A9=EC=9E=90=EA=B0=80=20=EC=84=A4=EC=A0=95?= =?UTF-8?q?=ED=95=9C=20=EB=AC=BC=20=EC=A3=BC=EA=B8=B0=20=EA=B0=92=EC=9D=B4?= =?UTF-8?q?=20=EC=A1=B0=ED=9A=8C=EB=90=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../umc/commonplant/domain/plant/service/PlantService.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/umc/commonplant/domain/plant/service/PlantService.java b/src/main/java/com/umc/commonplant/domain/plant/service/PlantService.java index a3c6724..22dd247 100644 --- a/src/main/java/com/umc/commonplant/domain/plant/service/PlantService.java +++ b/src/main/java/com/umc/commonplant/domain/plant/service/PlantService.java @@ -154,6 +154,9 @@ public PlantDto.getPlantRes getPlant(User user, Long plantIdx) { // log.info("getMemoList: " + getAllMemoList); + int waterCycle = plant.getWaterCycle(); + Long castedWaterCycle = Long.valueOf(waterCycle); + String tip = null; if(!infoResponse.get(0).getTip().isEmpty()) { @@ -170,7 +173,8 @@ public PlantDto.getPlantRes getPlant(User user, Long plantIdx) { remainderDate, getAllMemoList, infoResponse.get(0).getScientificName(), - infoResponse.get(0).getWater_day(), + // infoResponse.get(0).getWater_day(), + castedWaterCycle, tip, infoResponse.get(0).getSunlight(), infoResponse.get(0).getTemp_min(),