package pwc.taxtech.atms.vat.dao;

import java.util.List;
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.VoucherMapping;
import pwc.taxtech.atms.vat.entity.VoucherMappingExample;

@Mapper
public interface VoucherMappingMapper extends MyVatMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_PROJECT.VOUCHER_MAPPING
     *
     * @mbg.generated
     */
    long countByExample(VoucherMappingExample example);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_PROJECT.VOUCHER_MAPPING
     *
     * @mbg.generated
     */
    List<VoucherMapping> selectByExample(VoucherMappingExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_PROJECT.VOUCHER_MAPPING
     *
     * @mbg.generated
     */
    VoucherMapping selectByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_PROJECT.VOUCHER_MAPPING
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") VoucherMapping record, @Param("example") VoucherMappingExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_PROJECT.VOUCHER_MAPPING
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") VoucherMapping record, @Param("example") VoucherMappingExample example);

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

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