l3能源成本分摊(部分完成留存)
This commit is contained in:
@@ -13,6 +13,7 @@ import com.klp.ems.domain.vo.ChainAnalysisVo;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 能耗记录Service接口
|
||||
@@ -73,4 +74,25 @@ public interface IEmsEnergyConsumptionService {
|
||||
|
||||
/** 环比分析:periodType=day/week/month/year + dateKey;可过滤 */
|
||||
ChainAnalysisVo getChainAnalysis(EmsEnergyConsumptionQueryBo queryBo);
|
||||
|
||||
/**
|
||||
* 获取设备的上次抄表记录(用于自动填充起始数据)
|
||||
* @param meterId 设备ID
|
||||
* @return 上次抄表记录,如果没有则返回null
|
||||
*/
|
||||
EmsEnergyConsumptionVo getLastReadingForMeter(Long meterId);
|
||||
|
||||
/**
|
||||
* 获取设备本月的累计消耗量
|
||||
* @param meterId 设备ID
|
||||
* @return 本月累计消耗量,如果没有则返回0
|
||||
*/
|
||||
Double getMonthlyConsumption(Long meterId);
|
||||
|
||||
/**
|
||||
* 获取能耗统计信息
|
||||
* @param bo 查询条件
|
||||
* @return 统计信息(总记录数、总消耗量、平均消耗量、最大消耗量等)
|
||||
*/
|
||||
Map<String, Object> getStatistics(EmsEnergyConsumptionBo bo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user