From 2de612e9b260df2e76d4dd620ca739aa3b6e8c57 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 25 八月 2025 16:07:16 +0800 Subject: [PATCH] 2025.8.25 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