package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.WindTurbineInfoDay2;
import com.gyee.frame.model.auto.WindTurbineInfoDay2Example;
import com.gyee.frame.model.custom.SingleAnalysisVo;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

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

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

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

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

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

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

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

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


}