package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.PartBjCountSub;
import com.gyee.frame.model.auto.PartBjCountSubExample;
import com.gyee.frame.model.custom.WindturbinebjCountVo;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

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

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

    List<WindturbinebjCountVo> getWindturbinebjCountVoList(@Param("lnid") String lnid, @Param("part") String part, @Param("beginDate") Date beginDate, @Param("endDate") Date endDate);
}