PeriodTaxRuleSettingMapper.java 3.79 KB
package pwc.taxtech.atms.vat.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyVatMapper;
import pwc.taxtech.atms.vat.entity.PeriodTaxRuleSetting;
import pwc.taxtech.atms.vat.entity.PeriodTaxRuleSettingExample;

import java.util.List;

@Mapper
public interface PeriodTaxRuleSettingMapper extends MyVatMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.PERIOD_TAX_RULE_SETTING
     *
     * @mbg.generated
     */
    long countByExample(PeriodTaxRuleSettingExample example);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.PERIOD_TAX_RULE_SETTING
     *
     * @mbg.generated
     */
    List<PeriodTaxRuleSetting> selectByExampleWithRowbounds(PeriodTaxRuleSettingExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.PERIOD_TAX_RULE_SETTING
     *
     * @mbg.generated
     */
    List<PeriodTaxRuleSetting> selectByExample(PeriodTaxRuleSettingExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.PERIOD_TAX_RULE_SETTING
     *
     * @mbg.generated
     */
    PeriodTaxRuleSetting selectByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.PERIOD_TAX_RULE_SETTING
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") PeriodTaxRuleSetting record, @Param("example") PeriodTaxRuleSettingExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.PERIOD_TAX_RULE_SETTING
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") PeriodTaxRuleSetting record, @Param("example") PeriodTaxRuleSettingExample example);

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

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


    List<PeriodTaxRuleSetting> getTaxRuleSetting(@Param("organizationId") String organizationId,
                                                 @Param("taxName") String taxName, @Param("period") int period,
                                                 @Param("projectId") String projectId);
}