package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseCompanyInfo;
import com.bailuntec.domain.example.DcBaseCompanyInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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