package com.bailuntec.mapper;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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