package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzFaqCategory;
import org.linlinjava.jz.db.domain.JzFaqCategoryExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_faq_category
     *
     * @mbg.generated
     */
    JzFaqCategory selectOneByExample(JzFaqCategoryExample example);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_faq_category
     *
     * @mbg.generated
     */
    JzFaqCategory 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_category
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") JzFaqCategory record, @Param("example") JzFaqCategoryExample example);

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

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

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

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

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