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/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