package com.pqs9900.mapper.webtool;

import org.apache.ibatis.annotations.Param;

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

public interface CsvDataMapper {

    /**
     * @Author chendaofei
     * @Description //TODO Administrator
     * @Date 9:40 2020/4/3
     */
    List<Map<String, Object>> findAll(@Param("lineid")Integer lineid, @Param("beginTime")Date beginTime, @Param("endTime")Date endTime);

    /**
     * @Author chendaofei
     * @Description
     * @Date 11:22 2020/4/21
     **/
    Integer checkIsExist(@Param("lineid")Integer lineid, @Param("beginTime")Date beginTime, @Param("endTime")Date endTime);

    /**
     * @Author chendaofei
     * @Description  数据完整性手动操作
     * @Date 9:21 2020/6/5
     **/
    List<Map<String,Object>> startHistoryTask(@Param("LineNo") Integer LineNo, @Param("startTime") Date startTime, @Param("endTime") Date endTime);


    //根据变电站id获取变电站名称
    String getSubNameById(@Param("id") Long id);
}
