package pwc.taxtech.atms.invoice;

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.OutputInvoiceDetail;
import pwc.taxtech.atms.vat.entity.OutputInvoiceDetailExample;

import java.util.List;

@Mapper
public interface OutputInvoiceDetailMapper extends MyVatMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table PWC_INVOICE.OUTPUT_INVOICE_DETAIL
     *
     * @mbg.generated
     */
    long countByExample(OutputInvoiceDetailExample example);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table PWC_INVOICE.OUTPUT_INVOICE_DETAIL
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(String ID);

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table PWC_INVOICE.OUTPUT_INVOICE_DETAIL
     *
     * @mbg.generated
     */
    List<OutputInvoiceDetail> selectByExample(OutputInvoiceDetailExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table PWC_INVOICE.OUTPUT_INVOICE_DETAIL
     *
     * @mbg.generated
     */
    OutputInvoiceDetail selectByPrimaryKey(String ID);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table PWC_INVOICE.OUTPUT_INVOICE_DETAIL
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") OutputInvoiceDetail record, @Param("example") OutputInvoiceDetailExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table PWC_INVOICE.OUTPUT_INVOICE_DETAIL
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") OutputInvoiceDetail record, @Param("example") OutputInvoiceDetailExample example);

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

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