package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Windturbineinfoday3;
import com.gyee.frame.model.auto.Windturbineinfoday3Example;
import com.gyee.frame.model.custom.SingleAnalysisVo;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

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

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

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

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

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

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


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

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

}