package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcMidFbaFeeAvg;
import com.bailuntec.domain.example.DcMidFbaFeeAvgExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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