package com.hzs.sale.refund.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.sale.order.SaRefund;
import com.hzs.sale.refund.param.RefundQueryParam;
import com.hzs.sale.refund.vo.RefundQueryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 退款表 Mapper 接口
 *
 * @author hzs
 * @since 2023-08-25
 */
public interface SaRefundMapper extends BaseMapper<SaRefund> {

    /**
     * 订单退款列表
     *
     * @param param     退款查询入参
     * @param pkCountry 所属国家
     * @return
     */
    List<RefundQueryVO> queryRefundList(@Param("param") RefundQueryParam param,
                                        @Param("pkCountry") Integer pkCountry);

}
