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/main/kotlin/com/flightfeather/uav/lightshare/service/CompanyService.kt | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/lightshare/service/CompanyService.kt b/src/main/kotlin/com/flightfeather/uav/lightshare/service/CompanyService.kt index 8d4c723..8a69f45 100644 --- a/src/main/kotlin/com/flightfeather/uav/lightshare/service/CompanyService.kt +++ b/src/main/kotlin/com/flightfeather/uav/lightshare/service/CompanyService.kt @@ -1,10 +1,29 @@ package com.flightfeather.uav.lightshare.service +import com.flightfeather.uav.domain.entity.Assessment import com.flightfeather.uav.domain.entity.Company +import com.flightfeather.uav.lightshare.bean.AssessmentVo import com.flightfeather.uav.lightshare.bean.BaseResponse -import com.flightfeather.uav.lightshare.bean.DataVo +import com.flightfeather.uav.lightshare.bean.ComplaintVo +import com.flightfeather.uav.model.BaseModel interface CompanyService { fun getCompanyInfo(): BaseResponse<List<Company>> + + fun getCompany(cId: String): BaseResponse<Company> + + /** + * 璁$畻姹℃煋婧愮殑姹℃煋鏉冮噸褰卞搷 + */ + fun getEpwModelResult( + deviceCode: String, + startTime: String, + endTime: String, + companyIds: List<String>? = null + ): BaseResponse<MutableMap<String, MutableMap<String, MutableMap<String, BaseModel.ResultCell>>>> + + fun getComplaintInfo(): BaseResponse<List<ComplaintVo>> + + fun getAssessment(): BaseResponse<List<AssessmentVo>> } \ No newline at end of file -- Gitblit v1.9.3