package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBasePurchaseInbound;
import com.bailuntec.domain.example.DcBasePurchaseInboundExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

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

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

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

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

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

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

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

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