From 275ad59f206d9bc1801b28daeb31b4207f609ce3 Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期四, 02 一月 2025 09:10:09 +0800
Subject: [PATCH] 1. 修改网格组数据导入接口返回值为bool 2. 修改网格组数据批量更新 使用Transactional注解

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

diff --git a/src/test/kotlin/com/flightfeather/uav/Test.kt b/src/test/kotlin/com/flightfeather/uav/Test.kt
index 85e68a9..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,11 +119,14 @@
 
     @Test
     fun foo16() {
-        val l = mutableListOf<BigDecimal>().apply {
-            add(BigDecimal.valueOf(6.23))
-            add(BigDecimal("6.23"))
-            add(BigDecimal(6.23))
-        }
-        l.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