package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseBailuncategory;
import com.bailuntec.domain.example.DcBaseBailuncategoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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