package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcSemiStockProd;
import com.bailuntec.domain.example.DcSemiStockProdExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    int insertDaily();
}