package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Inputoroutputspeedtotal;
import com.gyee.frame.model.auto.InputoroutputspeedtotalExample;
import com.gyee.frame.model.custom.SingleAnalysisVo;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}