From 538ba7a3bbc682f4537f1dd34f93feb2cf56b08e Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 14 十月 2025 17:32:04 +0800
Subject: [PATCH] 2025.10.14 1. 新增数据统计颗粒度选项,可选秒级数据、分钟数据进行数据统计 2. 典型隐患区域统计新增按照污染溯源区域进行分类统计的功能
---
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