package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Earlywarningmain;
import com.gyee.frame.model.auto.EarlywarningmainExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

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

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

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

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

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