package com.bonus.core.order.common.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.core.order.common.model.OrderRefund;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

@Mapper
@InterceptorIgnore
public interface OrderRefundMapper extends BaseMapper<OrderRefund> {
   BigDecimal getOrderRealRefundAmount(@Param("orderId") Long orderId, @Param("checkState") Integer checkState);
//
//   List<Long> listUnCheckCorrectRefundIds(@Param("macOrderId") String macOrderId, @Param("detailId") Long detailId);
//
//   OrderRefund getByRefundTradeId(Long refundTradeId);
}
