feiyu02
2025-09-12 dc4f12f66685260ac357997680e5f3fe723c3c4a
src/main/kotlin/cn/flightfeather/supervision/lightshare/service/SubtaskService.kt
@@ -2,6 +2,7 @@
import cn.flightfeather.supervision.domain.ds1.entity.Subtask
import cn.flightfeather.supervision.lightshare.vo.*
import java.time.LocalDateTime
interface SubtaskService {
@@ -12,6 +13,12 @@
    fun save(subtask: Subtask): Int
    fun update(subtask: Subtask): Int
    /**
     * 变更巡查任务状态
     * 执行任务或结束任务
     */
    fun changeStatus(subtask: Subtask): Int
    fun delete(id: String): Int
@@ -44,5 +51,11 @@
    fun getByTopTaskAndDate(topTaskId: String, startTime: String?, endTime: String?, sceneTypeId: Int? = null): List<Subtask>
    fun getTaskProgressByArea(areaVo: AreaVo): List<TaskProgressVo>
    fun getSummary(topTaskId: String, sceneTypeId: Int? = null): List<SubTaskSummary>
    fun getByScene(sceneId: String, startTime: LocalDateTime?, endTime: LocalDateTime?): List<SubTaskSummary>
    fun getSummaryByArea(areaVo: AreaVo): List<SubTaskSummary>
}