From 3e2159e45e12b2b8af058b68eafeaf082cf3fe85 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 15 九月 2022 09:30:31 +0800 Subject: [PATCH] 2022.9.15 1. 根据微信小程序前端需求,添加各对应后台逻辑 --- src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_7.kt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_7.kt b/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_7.kt index ea6c3d6..525427a 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_7.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_7.kt @@ -40,7 +40,7 @@ } val startTime = LocalDate.of(info.year, sMonth, 1).atStartOfDay(ZoneId.systemDefault()) - val lastTime = LocalDate.of(info.year, eMonth + 1, 1).atStartOfDay(ZoneId.systemDefault()) + val lastTime = LocalDate.of(info.year, eMonth, 1).plusMonths(1).atStartOfDay(ZoneId.systemDefault()) val s = Date.from(startTime.toInstant()) val e = Date.from(lastTime.toInstant()) -- Gitblit v1.9.3