From d3b43d50df28c4fe27c104dcd146d35b2bad4d20 Mon Sep 17 00:00:00 2001 From: Riku <risaku@163.com> Date: 星期三, 11 六月 2025 22:48:01 +0800 Subject: [PATCH] 1. 新增动态污染溯源新的判定逻辑(待完成) --- src/main/kotlin/com/flightfeather/uav/lightshare/service/SatelliteTelemetryService.kt | 21 ++++++++++++++++++--- 1 files changed, 18 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 ab87849..e1e16c9 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,17 +21,27 @@ */ 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) @@ -38,10 +49,14 @@ 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? 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