package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBasePurchase;
import com.bailuntec.domain.example.DcBasePurchaseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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