package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzRole;
import org.linlinjava.jz.db.domain.JzRoleExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_role
     *
     * @mbg.generated
     */
    JzRole selectOneByExample(JzRoleExample example);

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

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

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

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

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

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

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

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

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

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

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

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