package pwc.taxtech.atms.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.entity.OrganizationAccountingRate;
import pwc.taxtech.atms.entity.OrganizationAccountingRateExample;

import java.util.List;

@Mapper
public interface OrganizationAccountingRateMapper extends MyMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table organization_accounting_rate
     *
     * @mbg.generated
     */
    long countByExample(OrganizationAccountingRateExample example);

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

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

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

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

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

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

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

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

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

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

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