PowerAnalysisNewMapper.java 4.0 KB
package com.skua.modules.dataAnalysis.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.skua.modules.dataAnalysis.vo.OperationMonthVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 能耗分析
 */
public interface PowerAnalysisNewMapper {

    List<Map<String, Object>> queryMonthAttribute();

    List<Map<String, Object>> queryDrugAttribute();

    List<Map<String, Object>> queryOperationMonthList(Page page, @Param("operationMonthVO") OperationMonthVO operationMonthVO);

    Map<String, Object> queryOperationMonthByTimeAndFac(@Param(value="dataViewName") String dataViewName,@Param("factoryId") String factoryId, @Param("time") String time);

    void deleteOperationMonth(@Param("factoryId") String factoryId, @Param("time") String time);

    Map totalPowerConsumptionAnalysis(@Param(value="thisDataViewName") String thisDataViewName,@Param(value="lastDataViewName") String lastDataViewName,@Param("thisMonth") String thisMonth, @Param("lastMonth") String lastMonth, @Param("factoryIds") String factoryIds);

    List<Map> querySixMonthPowerConsumption(@Param(value="dataViewName") String dataViewName,@Param("thisMonth") String thisMonth, @Param("endTime") String endTime, @Param("factoryIds") String factoryIds);

    List<Map<String, Object>> powerConsumptionDistribution(@Param(value="dataViewName") String dataViewName,@Param("time") String time, @Param("factoryIds") String factoryIds);

    List<Map<String, Object>> queryCraftDSDH(@Param(value="dataViewName") String dataViewName,@Param("time") String time, @Param("factoryIds") String factoryIds);

    List<Map<String, Object>> queryStandardDSDH(@Param(value="dataViewName") String dataViewName,@Param("time") String time, @Param("factoryIds") String factoryIds);

    List<Map<String, Object>> queryScaleDSDH(@Param(value="dataViewName") String dataViewName,@Param("time") String time, @Param("factoryIds") String factoryIds);

    List<Map<String, Object>> queryCraftDSDHCurve(@Param(value="dataViewName") String dataViewName,@Param("time") String time, @Param("id") String id, @Param("factoryIds") String factoryIds);

    List<Map<String, Object>> queryStandardDSDHCurve(@Param(value="dataViewName") String dataViewName,@Param("time") String time, @Param("id") String id, @Param("factoryIds") String factoryIds);

    List<Map<String, Object>> queryScaleDSDHCurve(@Param(value="dataViewName") String dataViewName,@Param("time") String time, @Param("start") String start, @Param("end") String end, @Param("factoryIds") String factoryIds);

    List<Map<String, Object>> queryDataByCodeAndtime(@Param("startTime") String startTime, @Param("endTime") String endTime,@Param("factoryId")String factoryId, @Param("code") String code);

    List<Map<String, Object>> queryHDLAndSL(@Param(value="dataViewName") String dataViewName,@Param("startTime") String startTime, @Param("endTime") String endTime,@Param("factoryId")String factoryId);

    List<Map<String, Object>> powerConsumptionDistributionList(@Param(value="dataViewName") String dataViewName,@Param("time") String time, @Param("start") String start, @Param("end") String end, @Param("factoryIds") String factoryIds);

    List<Map<String, Object>> queryDataByCodeAndtimeFac(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("factoryId") String factoryId ,@Param("code") String code);

    List<Map> queryHDLAndSLByFac(@Param(value="dataViewName") String dataViewName,@Param("startTime") String startTime, @Param("endTime") String endTime ,@Param("factoryId")String factoryId);

    List<Map<String, Object>> queryView3771(@Param("time") String time);

    List<Map<String, Object>> queryMonthHDLData(@Param("dataViewName") String dataViewName,@Param("parentId") String parentId);

    List<Map<String, String>> queryHDLByYear(@Param("dataViewName") String dataViewName,@Param("factoryId") String factoryId);

    List<Map<String, Object>> queryHDLDetails(@Param("dataViewName") String dataViewName,@Param("parentId") String parentId);
}