package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzBase;
import org.linlinjava.jz.db.domain.JzBaseExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_base
     *
     * @mbg.generated
     */
    JzBase selectOneByExample(JzBaseExample example);

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

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

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

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

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

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

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

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

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

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

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

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