From 6e1095e946997e406926c204ceeb5c820dbd07c1 Mon Sep 17 00:00:00 2001
From: Riku <risaku@163.com>
Date: 星期二, 13 八月 2024 23:51:47 +0800
Subject: [PATCH] 1. 修复文件扩展名获取错误问题 2. 调试完善设备信息相关接口

---
 src/main/kotlin/cn/flightfeather/supervision/lightshare/service/impl/InspectionServiceImpl.kt |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/impl/InspectionServiceImpl.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/impl/InspectionServiceImpl.kt
index 2240ac3..9072c29 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/impl/InspectionServiceImpl.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/impl/InspectionServiceImpl.kt
@@ -34,8 +34,6 @@
     @Autowired
     lateinit var subtaskService: SubtaskService
 
-    private val dateUtil = DateUtil()
-
     //鑾峰彇姹℃煋鍦烘櫙鐗堟湰涓婚〉鐨勭洃绠℃儏鍐靛睍绀哄唴瀹�
     override fun getInspectionInfoByScene(sceneId: String, topTaskId: String): InspectionInfoVo? {
         val resList = inspectionMapper.getInspectionInfoByScene(sceneId, topTaskId)
@@ -78,7 +76,7 @@
         val example = Example(Inspection::class.java)
         val criteria = example.createCriteria()
         criteria.andEqualTo("sguid", id)
-        criteria.andLessThan("executionstarttime", DateUtil().StringToDate(date))
+        criteria.andLessThan("executionstarttime", DateUtil.StringToDate(date))
         //娣诲姞宸℃煡鎸夋墽琛屾椂闂存帓搴�*****
         example.orderBy("executionstarttime").desc()
         //**************************

--
Gitblit v1.9.3