package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcSemiStockReport;
import com.bailuntec.domain.example.DcSemiStockReportExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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