package com.goafanti.common.dao;

import com.goafanti.common.model.OrderRefundInvoice;
import com.goafanti.common.model.OrderRefundInvoiceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderRefundInvoiceMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table order_refund_invoice
     *
     * @mbg.generated Tue Sep 17 16:25:27 CST 2019
     */
    long countByExample(OrderRefundInvoiceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table order_refund_invoice
     *
     * @mbg.generated Tue Sep 17 16:25:27 CST 2019
     */
    int deleteByExample(OrderRefundInvoiceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table order_refund_invoice
     *
     * @mbg.generated Tue Sep 17 16:25:27 CST 2019
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table order_refund_invoice
     *
     * @mbg.generated Tue Sep 17 16:25:27 CST 2019
     */
    int insert(OrderRefundInvoice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table order_refund_invoice
     *
     * @mbg.generated Tue Sep 17 16:25:27 CST 2019
     */
    int insertSelective(OrderRefundInvoice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table order_refund_invoice
     *
     * @mbg.generated Tue Sep 17 16:25:27 CST 2019
     */
    List<OrderRefundInvoice> selectByExample(OrderRefundInvoiceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table order_refund_invoice
     *
     * @mbg.generated Tue Sep 17 16:25:27 CST 2019
     */
    OrderRefundInvoice selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table order_refund_invoice
     *
     * @mbg.generated Tue Sep 17 16:25:27 CST 2019
     */
    int updateByExampleSelective(@Param("record") OrderRefundInvoice record, @Param("example") OrderRefundInvoiceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table order_refund_invoice
     *
     * @mbg.generated Tue Sep 17 16:25:27 CST 2019
     */
    int updateByExample(@Param("record") OrderRefundInvoice record, @Param("example") OrderRefundInvoiceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table order_refund_invoice
     *
     * @mbg.generated Tue Sep 17 16:25:27 CST 2019
     */
    int updateByPrimaryKeySelective(OrderRefundInvoice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table order_refund_invoice
     *
     * @mbg.generated Tue Sep 17 16:25:27 CST 2019
     */
    int updateByPrimaryKey(OrderRefundInvoice record);

	List<OrderRefundInvoice> selectByorderNo(String orderNo);
}