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("要删除的走航任务缺失设备编号或采样时间范围,无法删除对应监测数据")