package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoException;
import com.bailuntec.domain.example.DcAutoExceptionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_exception
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    DcAutoException selectOneByExample(DcAutoExceptionExample example);

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_exception
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int upsert(DcAutoException record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_exception
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int upsertSelective(DcAutoException record);
}