package com.gyee.frame.mapper.auto;

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

import java.util.List;

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table EARLYWARNINGMAIN
     *
     * @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 EARLYWARNINGMAIN
     *
     * @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 EARLYWARNINGMAIN
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(Earlywarningmain record);

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