From 0412a0125f484282c28d76905ca1f6397014b982 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期一, 30 十二月 2024 14:32:48 +0800
Subject: [PATCH] 1. 测试部分新增数据后期调整代码(一次性) 2. 优化走航路径自动归集路段功能

---
 src/test/kotlin/com/flightfeather/uav/Test.kt |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/test/kotlin/com/flightfeather/uav/Test.kt b/src/test/kotlin/com/flightfeather/uav/Test.kt
index 7cd72a9..99f1d8b 100644
--- a/src/test/kotlin/com/flightfeather/uav/Test.kt
+++ b/src/test/kotlin/com/flightfeather/uav/Test.kt
@@ -1,5 +1,6 @@
 package com.flightfeather.uav
 
+import com.flightfeather.uav.common.utils.DateUtil
 import com.flightfeather.uav.common.utils.FileExchange
 import com.flightfeather.uav.common.utils.FileUtil
 import com.flightfeather.uav.domain.entity.Company
@@ -118,10 +119,14 @@
 
     @Test
     fun foo16() {
-        val list = listOf(1, 2, 3, 4, 5, 6)
-        val iterator = list.iterator().also { it.next() }
-        iterator.forEach {
-            println(it)
-        }
+        val d = "2023-06-13 00:01:50.0\t".trim().split(".")[0]
+        val t = DateUtil.instance.StringToDate(d, DateUtil.DateStyle.YYYY_MM_DD_HH_MM_SS)
+        println(d)
+        println(t)
+    }
+
+    @Test
+    fun foo17() {
+        val a = listOf(1, 2, 3)
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3