| | |
| | | import com.flightfeather.uav.common.utils.ExcelUtil |
| | | import com.flightfeather.uav.common.utils.FileExchange |
| | | import com.flightfeather.uav.biz.dataprocess.AverageUtil |
| | | import com.flightfeather.uav.common.location.TrackSegment |
| | | import com.flightfeather.uav.domain.entity.* |
| | | import com.flightfeather.uav.domain.mapper.* |
| | | import com.flightfeather.uav.domain.repository.MissionRep |
| | |
| | | import com.flightfeather.uav.lightshare.bean.* |
| | | import com.flightfeather.uav.lightshare.service.RealTimeDataService |
| | | import com.flightfeather.uav.model.epw.EPWDataPrep |
| | | import com.flightfeather.uav.repository.AirDataRepository |
| | | import com.flightfeather.uav.domain.repository.AirDataRep |
| | | import com.flightfeather.uav.socket.eunm.UWDeviceType |
| | | import com.github.pagehelper.PageHelper |
| | | import org.apache.poi.xssf.streaming.SXSSFWorkbook |
| | |
| | | @Service |
| | | class RealTimeDataServiceImpl( |
| | | private val realTimeDataMapper: RealTimeDataMapper, |
| | | private val airDataRepository: AirDataRepository, |
| | | private val airDataRep: AirDataRep, |
| | | private val realTimeDataVehicleMapper: RealTimeDataVehicleMapper, |
| | | private val realTimeDataUavMapper: RealTimeDataUavMapper, |
| | | private val realTimeDataGridMapper: RealTimeDataGridMapper, |
| | |
| | | println("当前页数:$page") |
| | | val dataList = res.data ?: emptyList() |
| | | val result = epwDataPrep.mDataPrep2(dataList) |
| | | count += airDataRepository.savePrepData2(result) |
| | | count += airDataRep.savePrepData2(result) |
| | | page++ |
| | | } |
| | | |