package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzFaqLabel;
import org.linlinjava.jz.db.domain.JzFaqLabelExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_faq_label
     *
     * @mbg.generated
     */
    JzFaqLabel selectOneByExample(JzFaqLabelExample example);

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

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

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

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

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

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

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

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

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

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

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