From d978297ae85b2d7453054e616bbbe87bfabe9cbe Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 12 七月 2021 17:38:09 +0800 Subject: [PATCH] 1. 新增用电量数据查询接口 2. 调整污染权重算法 --- src/main/kotlin/com/flightfeather/uav/lightshare/service/CompanyService.kt | 14 +++++++++++++- 1 files changed, 13 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..25754b3 100644 --- a/src/main/kotlin/com/flightfeather/uav/lightshare/service/CompanyService.kt +++ b/src/main/kotlin/com/flightfeather/uav/lightshare/service/CompanyService.kt @@ -2,9 +2,21 @@ import com.flightfeather.uav.domain.entity.Company import com.flightfeather.uav.lightshare.bean.BaseResponse -import com.flightfeather.uav.lightshare.bean.DataVo +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>>>> } \ No newline at end of file -- Gitblit v1.9.3