package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoConfigPromotion;
import com.bailuntec.domain.example.DcAutoConfigPromotionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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