package com.pqs9000.mapper.data;

import com.pqs9000.pojo.data.DataI;
import com.pqs9000.pojo.responsibility.Responsibility;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;
import java.util.List;

/**
 * @author hongawen
 * @Date: 2019/3/28 16:04
 */
public interface DataIMapper extends Mapper<DataI> {
    //根据监测点、时间、谐波次数查询数据
    List<Responsibility> getHistoryData(@Param("lineIndex")Integer lineIndex, @Param("startTime")Date startTime, @Param("endTime")Date endTime, @Param("time")Integer time);
}
