package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseFinanceWish;
import com.bailuntec.domain.example.DcBaseFinanceWishExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

    int insertSelectiveReturnId(DcBaseFinanceWish dcBaseFinanceWish);

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

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

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

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

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

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

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

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

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