package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Failurestatisticsmain;
import com.gyee.frame.model.auto.FailurestatisticsmainExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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