From eb3dd00b0b7fcda477229d518d250f9c842b790b Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 21 十月 2025 17:45:44 +0800
Subject: [PATCH] 2025.10.21 1. 走航季度报告相关数据计算逻辑调整
---
src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt | 41 +++++++++++++++++++++++++++++++++++++++--
1 files changed, 39 insertions(+), 2 deletions(-)
diff --git a/src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt b/src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt
index 8263119..e1e16c9 100644
--- a/src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt
+++ b/src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt
@@ -1,25 +1,62 @@
package com.flightfeather.uav.lightshare.service
+import com.flightfeather.uav.common.exception.BizException
+import com.flightfeather.uav.domain.entity.GridAod
+import com.flightfeather.uav.domain.entity.GridAodDetail
import com.flightfeather.uav.domain.entity.GridCell
import com.flightfeather.uav.domain.entity.GridData
import com.flightfeather.uav.domain.entity.GridDataDetail
import com.flightfeather.uav.domain.entity.GridGroup
import com.flightfeather.uav.lightshare.bean.AreaVo
import com.flightfeather.uav.lightshare.bean.DataHead
+import com.flightfeather.uav.lightshare.bean.GridDataImportResult
+import org.springframework.web.multipart.MultipartFile
import java.time.LocalDateTime
+import javax.servlet.http.HttpServletResponse
/**
- *
+ * 鍗槦閬ユ祴鐩稿叧service鏈嶅姟鎺ュ彛
* @date 2024/12/5
* @author feiyu02
*/
interface SatelliteTelemetryService {
- fun fetchGridGroup(areaVo: AreaVo, page: Int?, perPage: Int?): Pair<DataHead, List<GridGroup?>>
+ fun fetchGridGroup(areaVo: AreaVo, type: String?, page: Int?, perPage: Int?): Pair<DataHead, List<GridGroup?>>
+
+ fun deleteGridGroup(groupId: Int)
fun fetchGridCell(groupId: Int): List<GridCell?>
fun fetchGridData(groupId: Int, dataTime: LocalDateTime?, type: Int?): List<GridData?>
+ fun fetchGridData(gridData: GridData): List<GridData?>
+
+ fun deleteGridData(dataId: Int): Boolean
+
fun fetchGridDataDetail(dataId: Int, groupId: Int?, cellId: Int?): List<GridDataDetail?>
+
+ fun createGridDataAndDataDetail(
+ groupId: Int, dataTime: LocalDateTime?, gridDataDetail: List<GridDataDetail>): Boolean
+
+ /**
+ * 鏁版嵁铻嶅悎
+ */
+ // Fixme 2025.3.28: 闇�瑕佸拰[SatelliteDataCalculateService.mixUnderwayGridData]鍑芥暟鍚堝苟
+ fun mixGridData(dataIdList: List<Int>): List<GridData?>
+
+ @Throws(BizException::class)
+ fun importGridData(groupId: Int, dataTime: LocalDateTime?, update: Boolean, file: MultipartFile): GridDataImportResult?
+
+ fun downloadTemplate(response: HttpServletResponse): Boolean
+
+ @Throws(BizException::class)
+ fun importGridAOD(groupId: Int, dataTime: LocalDateTime?, update: Boolean, file: MultipartFile): GridDataImportResult?
+
+ fun downloadAODTemplate(response: HttpServletResponse): Boolean
+
+
+ /**AOD鏁版嵁鐩稿叧**************************************************************/
+ fun fetchGridAod(groupId: Int, dataTime: LocalDateTime?): List<GridAod?>
+
+ fun fetchGridAODDetail(aodId: Int, groupId: Int?, cellId: Int?): List<GridAodDetail?>
}
\ No newline at end of file
--
Gitblit v1.9.3