package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseOrderCommisson;
import com.bailuntec.domain.example.DcBaseOrderCommissonExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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