package org.linlinjava.jz.db.dao;

import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzMallComment;
import org.linlinjava.jz.db.domain.JzMallCommentExample;

import java.util.List;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_mall_comment
     *
     * @mbg.generated
     */
    JzMallComment selectOneByExample(JzMallCommentExample example);

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

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

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

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

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

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

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

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

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

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

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

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