PowerAnalysisNewMapper.java 5.6 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="thisDataViewName3a24") String thisDataViewName3a24,@Param(value="thisDataViewName2119") String thisDataViewName2119,
                                      @Param(value="lastDataViewName3a24") String lastDataViewName3a24,@Param(value="lastDataViewName2119") String lastDataViewName2119,
                                      @Param("thisMonth") String thisMonth, @Param("lastMonth") String lastMonth, @Param("factoryIds") String factoryIds);

    List<Map> querySixMonthPowerConsumption(@Param(value="dataViewName3a24") String dataViewName3a24,@Param(value="dataViewName2119") String dataViewName2119,
                                            @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("factoryIds") String factoryIds);

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

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

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

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

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

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

    List<Map<String, Object>> queryScaleDSDHCurve(@Param(value="dataViewName3a24") String dataViewName3a24,@Param(value="dataViewName2119") String dataViewName2119,
                                                  @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="dataViewName3a24") String dataViewName3a24,@Param(value="dataViewName2119") String dataViewName2119,
                                            @Param("startTime") String startTime, @Param("endTime") String endTime,@Param("factoryId")String factoryId);

    List<Map<String, Object>> powerConsumptionDistributionList(@Param(value="dataViewName3a24") String dataViewName3a24,@Param(value="dataViewName2119") String dataViewName2119,
                                                               @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="dataViewName3a24") String dataViewName3a24,@Param(value="dataViewName2119") String dataViewName2119,
                                 @Param("startTime") String startTime, @Param("endTime") String endTime ,@Param("factoryId")String factoryId);

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

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

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