From fcefe41e05439f548a58c7e5b6aa6e58f7b80ada Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期一, 23 十二月 2024 11:57:46 +0800 Subject: [PATCH] 1. 新增接口网格数据excel模板、网格数据excel导入 2. 接口解析网格数据抛出相关excel报错信息 3. FileExchange.kt新增excel转换到GridDataDetail列表方法 4. 新增导入excel的单元测试代码 --- src/test/kotlin/com/flightfeather/uav/lightshare/service/impl/RealTimeDataServiceImplTest.kt | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/src/test/kotlin/com/flightfeather/uav/lightshare/service/impl/RealTimeDataServiceImplTest.kt b/src/test/kotlin/com/flightfeather/uav/lightshare/service/impl/RealTimeDataServiceImplTest.kt index d8b7e78..3c28e3b 100644 --- a/src/test/kotlin/com/flightfeather/uav/lightshare/service/impl/RealTimeDataServiceImplTest.kt +++ b/src/test/kotlin/com/flightfeather/uav/lightshare/service/impl/RealTimeDataServiceImplTest.kt @@ -1,32 +1,17 @@ package com.flightfeather.uav.lightshare.service.impl -import com.flightfeather.uav.common.utils.DateUtil -import com.flightfeather.uav.common.utils.ExcelUtil -import com.flightfeather.uav.dataprocess.DataProcess -import com.flightfeather.uav.domain.entity.RealTimeData import com.flightfeather.uav.domain.entity.RealTimeDataVehicle import com.flightfeather.uav.domain.mapper.RealTimeDataVehicleMapper import com.flightfeather.uav.lightshare.service.RealTimeDataService -import com.flightfeather.uav.model.epw.EPWDataPrep -import com.flightfeather.uav.repository.AirDataRepository import com.flightfeather.uav.repository.impl.AirDataRepositoryImpl -import com.flightfeather.uav.socket.eunm.UWDeviceType -import com.github.pagehelper.PageHelper -import org.apache.poi.xssf.streaming.SXSSFWorkbook import org.junit.Test -import org.junit.Assert.* import org.junit.runner.RunWith import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.context.SpringBootTest import org.springframework.test.context.junit4.SpringRunner -import tk.mybatis.mapper.entity.Example import java.io.File import java.io.FileOutputStream -import java.util.* -import kotlin.math.atan -import kotlin.math.cos -import kotlin.math.sin @RunWith(SpringRunner::class) @SpringBootTest -- Gitblit v1.9.3