package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseOmsConfigCostFirst;
import com.bailuntec.domain.example.DcBaseOmsConfigCostFirstExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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