From db447bb757b51f8d03e62d6ae4f183b4608723ef Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期五, 07 三月 2025 17:10:43 +0800
Subject: [PATCH] 卫星遥测系统相关接口新增及调整

---
 src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 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 0799ea9..0be52ab 100644
--- a/src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt
+++ b/src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt
@@ -2,6 +2,7 @@
 
 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
@@ -20,7 +21,7 @@
  */
 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)
 
@@ -29,6 +30,12 @@
     fun fetchGridData(groupId: Int, dataTime: LocalDateTime?, type: Int?): List<GridData?>
 
     fun fetchGridDataDetail(dataId: Int, groupId: Int?, cellId: Int?): List<GridDataDetail?>
+
+    fun createGridDataAndDataDetail(
+        groupId: Int,
+        dataTime: LocalDateTime?,
+        gridDataDetail: List<GridDataDetail>,
+    ): Boolean
 
     /**
      * 鏁版嵁铻嶅悎
@@ -40,8 +47,6 @@
 
     fun downloadTemplate(response: HttpServletResponse): Boolean
 
-    fun fetchGridAod(groupId: Int, dataTime: LocalDateTime?): List<GridAod?>
-
     @Throws(BizException::class)
     fun importGridAOD(groupId: Int, dataTime: LocalDateTime?, update: Boolean, file: MultipartFile): GridDataImportResult?
 
@@ -52,4 +57,10 @@
      * @param groupId 缃戞牸缁勭储寮昳d
      */
     fun calGridVertex(groupId: Int): List<GridCell?>
+
+
+    /**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