From bd40c80eea0074f02a08d210a14bb0695243948f Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期一, 04 七月 2022 16:15:10 +0800
Subject: [PATCH] 1. 承诺书pdf生产模块
---
src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_11.kt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_11.kt b/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_11.kt
index 9808a1c..549f69c 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_11.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/common/score/item/ScoreItem_11.kt
@@ -60,7 +60,7 @@
true
} else {
val latestTime = LocalDateTime.ofInstant(c[0].cmCreateTime.toInstant(), ZoneId.systemDefault())
- val now = LocalDateTime.of(info.year, eMonth + 1, 1, 0, 0, 0)
+ val now = LocalDateTime.of(info.year, eMonth, 1, 0, 0, 0).plusMonths(1)
now.minusYears(1).isAfter(latestTime)
}
}
--
Gitblit v1.9.3