package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseSkuTag;
import com.bailuntec.domain.example.DcBaseSkuTagExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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