package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseFinanceFee;
import com.bailuntec.domain.example.DcBaseFinanceFeeExample;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    int insertDailyFee(@Param("localDate") LocalDate localDate);
}