package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseFinanceAmazonItem;
import com.bailuntec.domain.example.DcBaseFinanceAmazonItemExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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