package com.gyee.frame.mapper.auto;

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table MAINBROWNOUTS2
     *
     * @mbg.generated
     */
    MainBrownouts2 selectByPrimaryKey(String id);

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

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

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

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