From 1571cd0f137ced4345fa8785e166a29dc31b6ad1 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 13 五月 2025 17:42:39 +0800
Subject: [PATCH] 1. 新增动态污染溯源的数据异常判断逻辑 2. 新增动态污染溯源websocket连接功能

---
 src/test/kotlin/com/flightfeather/uav/model/epw/EPWDataPrepTest.kt |    4 ++--
 1 files changed, 2 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 4cdb400..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)

--
Gitblit v1.9.3