package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcSemiPurchaseInfo;
import com.bailuntec.domain.example.DcSemiPurchaseInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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