package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.CustomerFn;
import org.linlinjava.jz.db.domain.CustomerFnExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table customer_fn
     *
     * @mbg.generated
     */
    CustomerFn selectOneByExample(CustomerFnExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table customer_fn
     *
     * @mbg.generated
     */
    CustomerFn selectOneByExampleSelective(@Param("example") CustomerFnExample example, @Param("selective") CustomerFn.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table customer_fn
     *
     * @mbg.generated
     */
    List<CustomerFn> selectByExampleSelective(@Param("example") CustomerFnExample example, @Param("selective") CustomerFn.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table customer_fn
     *
     * @mbg.generated
     */
    CustomerFn selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") CustomerFn.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table customer_fn
     *
     * @mbg.generated
     */
    CustomerFn selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table customer_fn
     *
     * @mbg.generated
     */
    int logicalDeleteByExample(@Param("example") CustomerFnExample example);

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