From 237d7c42498806a3ca205f63d151671a45304854 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 28 七月 2022 09:19:11 +0800
Subject: [PATCH] 1. 承诺书pdf生产模块

---
 src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_8.kt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_8.kt b/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_8.kt
index fcbfe1c..a543e49 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_8.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_8.kt
@@ -36,7 +36,7 @@
 
     override fun calScore(): Pair<Int, Int> {
         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