From b6c29718e10e25a6a49fe9538f554371e1560720 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期一, 25 七月 2022 15:50:22 +0800
Subject: [PATCH] 1. 调试监管统计文件下载接口; 2. 新增自动评分刷新接口; 3. 针对前端页面,调整部分接口

---
 src/main/kotlin/cn/flightfeather/supervision/business/fume/item/ScoreItem_10.kt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/business/fume/item/ScoreItem_10.kt b/src/main/kotlin/cn/flightfeather/supervision/business/fume/item/ScoreItem_10.kt
index d58fc91..5dda836 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/business/fume/item/ScoreItem_10.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/business/fume/item/ScoreItem_10.kt
@@ -38,8 +38,8 @@
      *      4.鏈夌幆澧冭繚娉曡涓轰笖鍙楀埌琛屾斂澶勭綒
      */
     override fun otherProblem(size: Int): Int? {
-        val s = Date.from(info.sTime.atZone(ZoneId.systemDefault()).toInstant())
-        val e = Date.from(info.eTime.atZone(ZoneId.systemDefault()).toInstant())
+        val s = Date.from(info.sTime?.atZone(ZoneId.systemDefault())?.toInstant())
+        val e = Date.from(info.eTime?.atZone(ZoneId.systemDefault())?.toInstant())
 
         var i = 1
         when {

--
Gitblit v1.9.3