From c682d5273a51701449da7ec502fc15f2664b7588 Mon Sep 17 00:00:00 2001 From: seungryeol Date: Mon, 8 Jul 2024 12:04:42 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=EC=BD=98=EC=86=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/myveggiegarden/dto/response/MyVeggieRoutine.java | 2 ++ .../domain/myveggiegarden/service/MyVeggieRoutineService.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/modernfarmer/farmusspring/domain/myveggiegarden/dto/response/MyVeggieRoutine.java b/src/main/java/com/modernfarmer/farmusspring/domain/myveggiegarden/dto/response/MyVeggieRoutine.java index 0a21614e..53f18d05 100644 --- a/src/main/java/com/modernfarmer/farmusspring/domain/myveggiegarden/dto/response/MyVeggieRoutine.java +++ b/src/main/java/com/modernfarmer/farmusspring/domain/myveggiegarden/dto/response/MyVeggieRoutine.java @@ -41,6 +41,8 @@ public static List processData(List routineList){ return routineList.stream() .map(routine -> { boolean check; + log.info(String.valueOf(routine.getDate())); + log.info("true/false 체크"); check = signRoutineCheck(routine.getDate()); return MyVeggieRoutine.of(routine, check); }) diff --git a/src/main/java/com/modernfarmer/farmusspring/domain/myveggiegarden/service/MyVeggieRoutineService.java b/src/main/java/com/modernfarmer/farmusspring/domain/myveggiegarden/service/MyVeggieRoutineService.java index d794945b..c761e88c 100644 --- a/src/main/java/com/modernfarmer/farmusspring/domain/myveggiegarden/service/MyVeggieRoutineService.java +++ b/src/main/java/com/modernfarmer/farmusspring/domain/myveggiegarden/service/MyVeggieRoutineService.java @@ -44,7 +44,7 @@ public BaseResponseDto settingMyVeggieRoutine( @Transactional public List selectMyVeggieRoutineById(MyVeggie myVeggie) { - + log.info("채소별 리스트 서비스 시작"); List routineList = myVeggieRepository.findMyVeggieRoutineById(myVeggie); return MyVeggieRoutine.processData(routineList); }