From cc2a28ad6b99795d05cd9c923d8f7da27b4509e3 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期三, 04 六月 2025 17:31:41 +0800
Subject: [PATCH] 1. 新增动态污染溯源新的判定逻辑(待完成)
---
src/test/kotlin/com/flightfeather/uav/biz/dataprocess/DataProcessTest.kt | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/test/kotlin/com/flightfeather/uav/biz/dataprocess/DataProcessTest.kt b/src/test/kotlin/com/flightfeather/uav/biz/dataprocess/DataProcessTest.kt
index 7b51ffb..0a77946 100644
--- a/src/test/kotlin/com/flightfeather/uav/biz/dataprocess/DataProcessTest.kt
+++ b/src/test/kotlin/com/flightfeather/uav/biz/dataprocess/DataProcessTest.kt
@@ -1,12 +1,15 @@
package com.flightfeather.uav.biz.dataprocess
import com.flightfeather.uav.domain.mapper.RealTimeDataMapper
+import com.flightfeather.uav.domain.repository.SceneInfoRep
+import com.flightfeather.uav.lightshare.bean.AreaVo
import com.flightfeather.uav.lightshare.service.RealTimeDataService
import org.junit.Test
import org.junit.runner.RunWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.junit4.SpringRunner
+import org.springframework.web.context.ContextLoader
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter
import java.util.*
@@ -56,4 +59,12 @@
process.outPutDailyVariation()
process.done()
}
+
+ @Test
+ fun foo2() {
+ ContextLoader.getCurrentWebApplicationContext()?.getBean(SceneInfoRep::class.java)?.run {
+ val res = this.findByArea(AreaVo().apply { sceneTypeId = "20" })
+ res.forEach { println(it?.name) }
+ }
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3