From 275ad59f206d9bc1801b28daeb31b4207f609ce3 Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期四, 02 一月 2025 09:10:09 +0800 Subject: [PATCH] 1. 修改网格组数据导入接口返回值为bool 2. 修改网格组数据批量更新 使用Transactional注解 --- src/main/kotlin/com/flightfeather/uav/repository/AirDataRepository.kt | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/repository/AirDataRepository.kt b/src/main/kotlin/com/flightfeather/uav/repository/AirDataRepository.kt index aa21e0b..3f6666d 100644 --- a/src/main/kotlin/com/flightfeather/uav/repository/AirDataRepository.kt +++ b/src/main/kotlin/com/flightfeather/uav/repository/AirDataRepository.kt @@ -1,5 +1,7 @@ package com.flightfeather.uav.repository +import com.flightfeather.uav.domain.entity.RealTimeData +import com.flightfeather.uav.lightshare.bean.DataVo import com.flightfeather.uav.socket.bean.AirDataPackage /** @@ -8,5 +10,21 @@ */ interface AirDataRepository { + /** + * 鍘熷鏁版嵁浠son鏍煎紡瀛樺偍 + */ fun saveAirData(dataPackage: AirDataPackage): Int + + /** + * 瀛樺偍棰勫鐞嗗悗鐨勬暟鎹� + */ + fun savePrepData(dataPackage: AirDataPackage): Int + + /** + * 瀛樺偍棰勫鐞嗗悗鐨勬暟鎹� + */ + fun savePrepData(dataList: List<RealTimeData>): Int + + fun savePrepData2(dataList: List<DataVo>): Int + } \ No newline at end of file -- Gitblit v1.9.3