package com.goafanti.common.dao;

import com.goafanti.common.model.NewOrderRefund;
import com.goafanti.common.model.NewOrderRefundExample;
import com.goafanti.order.bo.OutNewOrderRefund;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NewOrderRefundMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
	 * @mbg.generated  Wed Feb 19 09:01:39 CST 2020
	 */
	long countByExample(NewOrderRefundExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
	 * @mbg.generated  Wed Feb 19 09:01:39 CST 2020
	 */
	int deleteByExample(NewOrderRefundExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
	 * @mbg.generated  Wed Feb 19 09:01:39 CST 2020
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
	 * @mbg.generated  Wed Feb 19 09:01:39 CST 2020
	 */
	int insert(NewOrderRefund record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
	 * @mbg.generated  Wed Feb 19 09:01:39 CST 2020
	 */
	int insertSelective(NewOrderRefund record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
	 * @mbg.generated  Wed Feb 19 09:01:39 CST 2020
	 */
	List<NewOrderRefund> selectByExample(NewOrderRefundExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
	 * @mbg.generated  Wed Feb 19 09:01:39 CST 2020
	 */
	NewOrderRefund selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
	 * @mbg.generated  Wed Feb 19 09:01:39 CST 2020
	 */
	int updateByExampleSelective(@Param("record") NewOrderRefund record,
			@Param("example") NewOrderRefundExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
	 * @mbg.generated  Wed Feb 19 09:01:39 CST 2020
	 */
	int updateByExample(@Param("record") NewOrderRefund record, @Param("example") NewOrderRefundExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
	 * @mbg.generated  Wed Feb 19 09:01:39 CST 2020
	 */
	int updateByPrimaryKeySelective(NewOrderRefund record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table new_order_refund
	 * @mbg.generated  Wed Feb 19 09:01:39 CST 2020
	 */
	int updateByPrimaryKey(NewOrderRefund record);

	List<OutNewOrderRefund> listRefund(Integer id);
}