package com.bailuntec.mapper;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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