From b10c22af595bd995e56946bff63b8f2f984b13e8 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 14 八月 2025 17:25:05 +0800
Subject: [PATCH] 2025.8.14 1. 动态溯源模块添加滑动平均异常计算(调试中)

---
 src/test/kotlin/com/flightfeather/uav/UAVApplicationTests.kt |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/src/test/kotlin/com/flightfeather/uav/UAVApplicationTests.kt b/src/test/kotlin/com/flightfeather/uav/UAVApplicationTests.kt
index 6d4fab4..7409619 100644
--- a/src/test/kotlin/com/flightfeather/uav/UAVApplicationTests.kt
+++ b/src/test/kotlin/com/flightfeather/uav/UAVApplicationTests.kt
@@ -18,27 +18,6 @@
     @Autowired
     lateinit var realTimeDataService: RealTimeDataService
 
-    @Autowired
-    lateinit var gridDataDetailMapper: GridDataDetailMapper
-
-    /**
-     * 鍒锋柊姣忕粍鏁版嵁鐨勬暟鎹帓鍚�
-     */
-    @Test
-    fun refreshDataRank() {
-        for (i in 29..39) {
-            val dataDetailList = gridDataDetailMapper.selectByExample(Example(GridDataDetail::class.java).apply {
-                createCriteria().andEqualTo("dataId", i)
-                orderBy("pm25").desc()
-            })
-            dataDetailList.forEachIndexed { i, d ->
-                d?.rank = i + 1
-                gridDataDetailMapper.updateByPrimaryKey(d)
-            }
-            println("finish --${i}")
-        }
-    }
-
     @Test
     fun contextLoads() {
     }

--
Gitblit v1.9.3