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 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(Short 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(Short 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);
}