From 3bb4fb15c664d29d179083698fdad35a661b1d7f Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 28 八月 2025 14:57:40 +0800
Subject: [PATCH] 2025.8.28 1. 添加走航季度报告相关统计功能(待完成)

---
 src/main/kotlin/com/flightfeather/uav/lightshare/service/MissionService.kt |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/lightshare/service/MissionService.kt b/src/main/kotlin/com/flightfeather/uav/lightshare/service/MissionService.kt
index 8151dd8..5c6f6a9 100644
--- a/src/main/kotlin/com/flightfeather/uav/lightshare/service/MissionService.kt
+++ b/src/main/kotlin/com/flightfeather/uav/lightshare/service/MissionService.kt
@@ -2,14 +2,25 @@
 
 import com.flightfeather.uav.domain.entity.Mission
 import com.flightfeather.uav.lightshare.bean.BaseResponse
+import com.flightfeather.uav.lightshare.bean.DataHead
+import javax.servlet.http.HttpServletResponse
 
 interface MissionService {
 
-    fun getMission(type: String?, page: Int?, perPage: Int?): BaseResponse<List<Mission>>
+    fun getMission(type: String?, page: Int?, perPage: Int?): Pair<DataHead, List<Mission>>
 
-    fun createMission(mission: Mission): BaseResponse<Boolean>
+    fun createMission(mission: Mission): Boolean
 
-    fun deleteMission(missionCode: String): BaseResponse<Boolean>
+    fun updateMission(mission: Mission): Boolean
+
+    fun deleteMission(missionCode: String): Boolean
 
     fun deleteMissionAndData(missionCode: String): Boolean
+
+    fun getReport(missionCode: String, response: HttpServletResponse)
+
+    /**
+     * 璁$畻浠诲姟淇℃伅锛屽寘鎷�婚噷绋嬫暟銆佹墍灞炲尯鍩熴�佸綋鏃ョ殑绌烘皵璐ㄩ噺鑳屾櫙绛�
+     */
+    fun calMissionInfo(missionCode: String): Boolean
 }
\ No newline at end of file

--
Gitblit v1.9.3