package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseFinanceCashier;
import com.bailuntec.domain.example.DcBaseFinanceCashierExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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