package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseFinanceManagecost;
import com.bailuntec.domain.example.DcBaseFinanceManagecostExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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