From 9d4ca2e7bdfc0d634b0cc27c7fbe23740f4bb398 Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期五, 27 十二月 2024 15:43:30 +0800
Subject: [PATCH] 1. 新增aod数据索引,aod详细数据实体类,mapper,service 2. 新增卫星遥测数据网格数据pm2.5、aod数据导入,模板下载 3. FileExchange.kt 新增转换pm2.5和aod数据方法

---
 src/test/kotlin/com/flightfeather/uav/model/epw/EPWDataPrepTest.kt |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/test/kotlin/com/flightfeather/uav/model/epw/EPWDataPrepTest.kt b/src/test/kotlin/com/flightfeather/uav/model/epw/EPWDataPrepTest.kt
index 69db2a2..7e0b6f7 100644
--- a/src/test/kotlin/com/flightfeather/uav/model/epw/EPWDataPrepTest.kt
+++ b/src/test/kotlin/com/flightfeather/uav/model/epw/EPWDataPrepTest.kt
@@ -70,7 +70,7 @@
             var totalPage = -1
             val dataList = mutableListOf<DataVo>()
             while (totalPage == -1 || page <= totalPage) {
-                realTimeDataService.getSecondData(deviceCode, it.first, it.second, 0, page, 50000).apply {
+                realTimeDataService.getSecondData(null, deviceCode, it.first, it.second, 0, page, 50000).apply {
                     if (totalPage == -1) {
                         totalPage = head?.totalPage ?: 0
                     }
@@ -128,7 +128,7 @@
             val dateFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")
             val s = sTime.format(dateFormatter)
             val e = eTime.format(dateFormatter)
-            val data = realTimeDataService.getSecondData(deviceCode, s, e, 0, 1, 30000).data
+            val data = realTimeDataService.getSecondData(null, deviceCode, s, e, 0, 1, 30000).data
 
             data?.let {
                 val dataList = ePWDataPrep.mDataPrep(it)
@@ -173,4 +173,9 @@
             eTime = eTime.plusDays(1)
         }
     }
+
+    @Test
+    fun foo3() {
+
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3