Riku
2025-10-15 53857f42f777e2b9753b8f00cce1a60ce3dcb8fd
src/main/kotlin/com/flightfeather/uav/domain/repository/RealTimeDataRep.kt
@@ -58,6 +58,10 @@
        return delegate.insertByDeviceType(deviceType, type, data)
    }
    fun updateData(deviceType: UWDeviceType?, data: List<BaseRealTimeData>, type: Int? = 0): Int {
        return delegate.updateByDeviceType(deviceType, type, data)
    }
    fun deleteData(mission: Mission, type: Int? = 0): Int {
        if (mission.deviceCode == null || mission.startTime == null || mission.endTime == null) {
            throw BizException("要删除的走航任务缺失设备编号或采样时间范围,无法删除对应监测数据")