package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseCompanyAccount;
import com.bailuntec.domain.example.DcBaseCompanyAccountExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    int updatesetstatusoff();
}