package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseCostFirst;
import com.bailuntec.domain.example.DcBaseCostFirstExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    List<DcBaseCostFirst> listSkuWarehouseCostFirst(@Param("v1") Integer v1, @Param("v2") Integer v2);
}