package pwc.taxtech.atms.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.MyMapper;
import pwc.taxtech.atms.entity.OrganizationInvoice;
import pwc.taxtech.atms.entity.OrganizationInvoiceExample;

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

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

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

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

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

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

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

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

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

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

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

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