package com.njcn.mapper.plate;

import com.njcn.pojo.plate.PlateReportData;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PlateReportDataMapper extends Mapper<PlateReportData> {
	//有功电能(月)
	List<PlateReportData> getYGDNMonthValue(@Param("rateA") String rateA,@Param("rateB")String rateB,@Param("rateC")String rateC,
											@Param("rateD")String rateD,@Param("lineIndex")Long lineIndex,
											@Param("syllableName")String syllableName,@Param("startTime")String startTime,
											@Param("endTime")String endTime);
	//有功电能(季度、年)
	List<PlateReportData> getYGDNYearValue(@Param("rateA") String rateA,@Param("rateB")String rateB,@Param("rateC")String rateC,
										   @Param("rateD")String rateD,@Param("lineIndex")Long lineIndex,
										   @Param("syllableName")String syllableName,@Param("startTime")String startTime,
										   @Param("endTime")String endTime);
}