From 53857f42f777e2b9753b8f00cce1a60ce3dcb8fd Mon Sep 17 00:00:00 2001
From: Riku <risaku@163.com>
Date: 星期三, 15 十月 2025 22:42:29 +0800
Subject: [PATCH] 2025.10.15 修改高德地图地理逆编码结果,让地理位置信息更加详细
---
src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt | 32 ++++++++++++++++++++++++++++++--
1 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt b/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt
index d94a2f2..af71e21 100644
--- a/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt
+++ b/src/main/kotlin/com/flightfeather/uav/lightshare/service/RealTimeDataService.kt
@@ -4,18 +4,46 @@
import com.flightfeather.uav.lightshare.bean.DataImportResult
import com.flightfeather.uav.lightshare.bean.DataVo
import org.apache.poi.hssf.usermodel.HSSFWorkbook
+import org.apache.poi.xssf.streaming.SXSSFWorkbook
import org.springframework.web.multipart.MultipartFile
import javax.servlet.http.HttpServletResponse
interface RealTimeDataService {
- fun getSecondData(deviceCode: String?, startTime: String?, endTime: String?, page: Int?, perPage: Int?): BaseResponse<List<DataVo>>
+ fun getSecondData(
+ deviceType: String?, deviceCode: String?, startTime: String?, endTime: String?, type: Int?,
+ page: Int?, perPage: Int?,
+ ): BaseResponse<List<DataVo>>
fun getNextData(deviceCode: String, updateTime: String, page: Int?, perPage: Int?): BaseResponse<List<DataVo>>
+ fun getSegmentData(missionCode: String): List<List<DataVo>>
+
fun importData(file: MultipartFile): BaseResponse<DataImportResult>
- fun outToWorkbook(deviceCode: String, startTime: String, endTime: String): HSSFWorkbook
+ fun importJinanData(code:String, file: MultipartFile): DataImportResult
+
+ fun downloadTemplate(response: HttpServletResponse): Boolean
+
+ fun outToWorkbook(deviceCode: String, startTime: String, endTime: String): SXSSFWorkbook
fun outToExcel(deviceCode: String, startTime: String, endTime: String, response: HttpServletResponse): HttpServletResponse
+
+ fun getOriginData(deviceCode: String?, startTime: String?, endTime: String?, page: Int?, perPage: Int?): BaseResponse<List<DataVo>>
+
+ /**
+ * 鏁版嵁澶勭悊
+ * 鍘婚櫎鍘熷鏁版嵁涓殑寮傚父娉㈠姩鍊�
+ */
+ fun dataPreprocessing(): BaseResponse<String>
+
+ /**
+ * 鍧囧�艰绠楋紝灏嗙绾у�兼崲绠椾负鍒嗛挓鍧囧��
+ */
+ fun averageData(): BaseResponse<String>
+
+ /**
+ * 鏁版嵁浼樺寲锛屽湪鏁版嵁棰勫鐞嗗熀纭�涓婂仛杩涗竴姝ユ暟鎹紭鍖�
+ */
+ fun dataCalibration(): BaseResponse<String>
}
\ No newline at end of file
--
Gitblit v1.9.3