From e8a9b6d4eaff73738591c76f70bde619fb3f6e15 Mon Sep 17 00:00:00 2001 From: ParkYunHo Date: Mon, 28 Aug 2023 23:38:51 +0900 Subject: [PATCH] =?UTF-8?q?:bug:fix=20:=20=ED=86=B5=EA=B3=84=20Map?= =?UTF-8?q?=EB=A7=A4=ED=95=91=EB=A1=9C=EC=A7=81=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/kotlin/com/john/lotto/statics/StaticsRepository.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/kotlin/com/john/lotto/statics/StaticsRepository.kt b/core/src/main/kotlin/com/john/lotto/statics/StaticsRepository.kt index ad0f34e..2c6dccb 100644 --- a/core/src/main/kotlin/com/john/lotto/statics/StaticsRepository.kt +++ b/core/src/main/kotlin/com/john/lotto/statics/StaticsRepository.kt @@ -37,7 +37,7 @@ class StaticsRepository( fun findPeriodStatics(startDt: LocalDate, endDt: LocalDate): Map { val result = mutableMapOf() for(idx: Long in 1L..45L) { - result["no$idx"] = queryFactory + result["$idx"] = queryFactory .select(lottoNumber.drwtNo.count()) .from(lottoNumber) .where( @@ -64,7 +64,7 @@ class StaticsRepository( fun findDrwtNoStatics(startDrwtNo: Long, endDrwtNo: Long): Map { val result = mutableMapOf() for(idx: Long in 1L..45L) { - result["no$idx"] = queryFactory + result["$idx"] = queryFactory .select(lottoNumber.drwtNo.count()) .from(lottoNumber) .where( @@ -105,7 +105,7 @@ class StaticsRepository( .fetch() for(idx: Long in 1L..45L) { - result["no$idx"] = queryFactory + result["$idx"] = queryFactory .select(lottoNumber.drwtNo.count()) .from(lottoNumber) .where(