package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Windturbinethewindinfo;
import com.gyee.frame.model.auto.WindturbinethewindinfoExample;
import com.gyee.frame.model.custom.SingleAnalysisVo;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

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

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

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

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

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

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

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

}