From 4b49b40b252eb66ae9d8f7606b6e54f7a4126a70 Mon Sep 17 00:00:00 2001 From: DongGeon0908 Date: Mon, 19 Aug 2024 07:11:28 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=95=8C=EB=A6=BC=20=EB=AC=B8=EA=B5=AC?= =?UTF-8?q?=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hero/alignlab/batch/statistics/job/HeroStatisticsJob.kt | 3 +-- .../batch/statistics/scheduler/HeroStatisticsScheduler.kt | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/kotlin/com/hero/alignlab/batch/statistics/job/HeroStatisticsJob.kt b/src/main/kotlin/com/hero/alignlab/batch/statistics/job/HeroStatisticsJob.kt index 0f74c0b..6cf526d 100644 --- a/src/main/kotlin/com/hero/alignlab/batch/statistics/job/HeroStatisticsJob.kt +++ b/src/main/kotlin/com/hero/alignlab/batch/statistics/job/HeroStatisticsJob.kt @@ -69,8 +69,7 @@ class HeroStatisticsJob( val formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss") val message = """ - $title - - targetDate: ${fromDate.format(formatter)} ~ ${toDate.format(formatter)} + $title [${fromDate.format(formatter)} ~ ${toDate.format(formatter)}] 그룹 - 그룹 생성수 : $groupCount diff --git a/src/main/kotlin/com/hero/alignlab/batch/statistics/scheduler/HeroStatisticsScheduler.kt b/src/main/kotlin/com/hero/alignlab/batch/statistics/scheduler/HeroStatisticsScheduler.kt index cc3da5a..5f6a511 100644 --- a/src/main/kotlin/com/hero/alignlab/batch/statistics/scheduler/HeroStatisticsScheduler.kt +++ b/src/main/kotlin/com/hero/alignlab/batch/statistics/scheduler/HeroStatisticsScheduler.kt @@ -20,7 +20,7 @@ class HeroStatisticsScheduler( val fromDate = LocalDateTime.now().minusHours(1) heroStatisticsJob.sendHeroStatistics( - title = "극락통계 1시간 단위 [$fromDate ~ $toDate]", + title = "극락통계 1시간 단위", fromDate = fromDate, toDate = toDate ) @@ -34,7 +34,7 @@ class HeroStatisticsScheduler( val fromDate = LocalDateTime.now().minusDays(1) heroStatisticsJob.sendHeroStatistics( - title = "극락통계 1일 단위 [$fromDate ~ $toDate]", + title = "극락통계 1일 단위", fromDate = fromDate, toDate = toDate )