package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoConfigSalesUpperLimit;
import com.bailuntec.domain.example.DcAutoConfigSalesUpperLimitExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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