package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseFinanceWishInfraction;
import com.bailuntec.domain.example.DcBaseFinanceWishInfractionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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