From 53ce8de426561e7a43847afda23b5e24e6f76c4e Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期一, 19 一月 2026 17:29:55 +0800
Subject: [PATCH] 2026.1.19 1. 新增可配置的台账提交期限 2. 新增可配置的自巡查承诺
---
src/main/kotlin/cn/flightfeather/supervision/common/risk/RiskAuthenticated.kt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/kotlin/cn/flightfeather/supervision/common/risk/RiskAuthenticated.kt b/src/main/kotlin/cn/flightfeather/supervision/common/risk/RiskAuthenticated.kt
index 61a8991..7ab3108 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/common/risk/RiskAuthenticated.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/common/risk/RiskAuthenticated.kt
@@ -62,7 +62,7 @@
val baseInfo = dbMapper.baseInfoMapper.selectByPrimaryKey(user.guid)
result.baseInfo = baseInfo
val company = dbMapper.companyMapper.selectByPrimaryKey(baseInfo?.ciGuid)
- val createTime = if (baseInfo.biCreateTime != null) {
+ val createTime = if (baseInfo?.biCreateTime != null) {
LocalDateTime.ofInstant(baseInfo.biCreateTime.toInstant(), ZoneId.systemDefault())
.withDayOfMonth(1).withHour(0).withMinute(0).withSecond(0).plusSeconds(1)
} else {
--
Gitblit v1.9.3