package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzPermission;
import org.linlinjava.jz.db.domain.JzPermissionExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_permission
     *
     * @mbg.generated
     */
    JzPermission selectOneByExample(JzPermissionExample example);

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

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

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

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

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

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

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

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

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

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

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

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