package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.WindTurbineInfoDay;
import com.gyee.frame.model.auto.WindTurbineInfoDayExample;
import com.gyee.frame.model.custom.SingleAnalysisVo;
import org.apache.ibatis.annotations.Param;

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

public interface WindTurbineInfoDayMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table windturbineinfoday
     *
     * @mbg.generated
     */
    long countByExample(WindTurbineInfoDayExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table windturbineinfoday
     *
     * @mbg.generated
     */
    int deleteByExample(WindTurbineInfoDayExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table windturbineinfoday
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table windturbineinfoday
     *
     * @mbg.generated
     */
    int insert(WindTurbineInfoDay record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table windturbineinfoday
     *
     * @mbg.generated
     */
    int insertSelective(WindTurbineInfoDay record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table windturbineinfoday
     *
     * @mbg.generated
     */
    List<WindTurbineInfoDay> selectByExample(WindTurbineInfoDayExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table windturbineinfoday
     *
     * @mbg.generated
     */
    WindTurbineInfoDay selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table windturbineinfoday
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") WindTurbineInfoDay record, @Param("example") WindTurbineInfoDayExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table windturbineinfoday
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") WindTurbineInfoDay record, @Param("example") WindTurbineInfoDayExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table windturbineinfoday
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(WindTurbineInfoDay record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table windturbineinfoday
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(WindTurbineInfoDay record);

    List<SingleAnalysisVo> getWindTurbineInfoDay(@Param("wpId") String wpId, @Param("beginDate") Date beginDate, @Param("endDate") Date endDate);

    List<SingleAnalysisVo> getWindTurbineInfoDayByWtId(@Param("wtId") String wtId, @Param("beginDate") Date beginDate, @Param("endDate") Date endDate);

}