package com.bailuntec.mapper;

import com.bailuntec.domain.AmazonAdvert;
import com.bailuntec.domain.entity.DcBaseFinanceAmazon;
import com.bailuntec.domain.example.DcBaseFinanceAmazonExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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