package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzFaq;
import org.linlinjava.jz.db.domain.JzFaqExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_faq
     *
     * @mbg.generated
     */
    JzFaq selectOneByExample(JzFaqExample example);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_faq
     *
     * @mbg.generated
     */
    JzFaq selectOneByExampleWithBLOBs(JzFaqExample example);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_faq
     *
     * @mbg.generated
     */
    List<JzFaq> selectByExampleWithBLOBs(JzFaqExample example);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_faq
     *
     * @mbg.generated
     */
    int updateByExampleWithBLOBs(@Param("record") JzFaq record, @Param("example") JzFaqExample example);

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_faq
     *
     * @mbg.generated
     */
    int updateByPrimaryKeyWithBLOBs(JzFaq record);

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

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

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