package com.tax.user.mapper;

import com.tax.user.model.SysRoleRule;
import com.tax.user.model.SysRoleRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysRoleRuleMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_role_rule
     *
     * @mbggenerated Thu Dec 06 17:00:59 CST 2018
     */
    int countByExample(SysRoleRuleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_role_rule
     *
     * @mbggenerated Thu Dec 06 17:00:59 CST 2018
     */
    int deleteByExample(SysRoleRuleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_role_rule
     *
     * @mbggenerated Thu Dec 06 17:00:59 CST 2018
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_role_rule
     *
     * @mbggenerated Thu Dec 06 17:00:59 CST 2018
     */
    int insert(SysRoleRule record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_role_rule
     *
     * @mbggenerated Thu Dec 06 17:00:59 CST 2018
     */
    int insertSelective(SysRoleRule record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_role_rule
     *
     * @mbggenerated Thu Dec 06 17:00:59 CST 2018
     */
    List<SysRoleRule> selectByExample(SysRoleRuleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_role_rule
     *
     * @mbggenerated Thu Dec 06 17:00:59 CST 2018
     */
    SysRoleRule selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_role_rule
     *
     * @mbggenerated Thu Dec 06 17:00:59 CST 2018
     */
    int updateByExampleSelective(@Param("record") SysRoleRule record, @Param("example") SysRoleRuleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_role_rule
     *
     * @mbggenerated Thu Dec 06 17:00:59 CST 2018
     */
    int updateByExample(@Param("record") SysRoleRule record, @Param("example") SysRoleRuleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_role_rule
     *
     * @mbggenerated Thu Dec 06 17:00:59 CST 2018
     */
    int updateByPrimaryKeySelective(SysRoleRule record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_role_rule
     *
     * @mbggenerated Thu Dec 06 17:00:59 CST 2018
     */
    int updateByPrimaryKey(SysRoleRule record);
}