package com.tax.user.mapper;

import com.tax.user.model.SysRuleTaxno;
import com.tax.user.model.SysRuleTaxnoExample;
import com.yxcheng.token.common.model.RuleModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRuleTaxnoMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_rule_taxno
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int countByExample(SysRuleTaxnoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_rule_taxno
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int deleteByExample(SysRuleTaxnoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_rule_taxno
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_rule_taxno
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int insert(SysRuleTaxno record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_rule_taxno
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int insertSelective(SysRuleTaxno record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_rule_taxno
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    List<SysRuleTaxno> selectByExample(SysRuleTaxnoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_rule_taxno
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    SysRuleTaxno selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_rule_taxno
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int updateByExampleSelective(@Param("record") SysRuleTaxno record, @Param("example") SysRuleTaxnoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_rule_taxno
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int updateByExample(@Param("record") SysRuleTaxno record, @Param("example") SysRuleTaxnoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_rule_taxno
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int updateByPrimaryKeySelective(SysRuleTaxno record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_rule_taxno
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int updateByPrimaryKey(SysRuleTaxno record);

    boolean checkTaxno(RuleModel model);
}