package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseFinanceInterest;
import com.bailuntec.domain.example.DcBaseFinanceInterestExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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