package com.bailuntec.mapper;

import com.bailuntec.domain.dto.DcBaseFinanceAmazonItemDto;
import com.bailuntec.domain.entity.DcBaseFinanceAmazonAdProduct;
import com.bailuntec.domain.entity.JobPointLog;
import com.bailuntec.domain.example.DcBaseFinanceAmazonAdProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

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

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

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

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

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

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

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

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


    List<DcBaseFinanceAmazonItemDto> selectAmazonItem(JobPointLog jobPointLog);
}
