package com.bailuntec.mapper;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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