package com.yc.ship.module.trade.dal.mysql.refund;


import com.yc.ship.framework.mybatis.core.mapper.BaseMapperX;
import com.yc.ship.module.trade.controller.admin.order.vo.order.DetailBaseRespVO;
import com.yc.ship.module.trade.controller.app.ota.vo.OtaInnerRefundVoucherVO;
import com.yc.ship.module.trade.dal.dataobject.refund.RefundDetailBaseDO;
import com.yc.ship.module.trade.service.refund.bo.TradeSupplierRefundBaseBO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 退款明细基础 Mapper
 *
 * @author 管理员
 */
@Mapper
public interface RefundDetailBaseMapper extends BaseMapperX<RefundDetailBaseDO> {
    int recoveryStatusByRefundId(@Param("refundId") Long refundId);
    int updateStatusByRefundId(@Param("refundId") Long refundId,@Param("refundStatus") Integer refundStatus);
    List<TradeSupplierRefundBaseBO> selectRefundDetailBaseBOList(@Param("supplierRefundId") Long supplierRefundId);
    List<DetailBaseRespVO> selectDetailBaseList(@Param("supplierRefundId") Long supplierRefundId);
    List<OtaInnerRefundVoucherVO> selectPlatSupplierRefundVoucherList(@Param("supplierRefundId") Long supplierRefundId);

}