package cn.superdesk.uniorder.dao.mapper.base;

import cn.superdesk.uniorder.dao.entity.base.UnifiedOrderReturnGoods;
import cn.superdesk.uniorder.dto.vo.unified.ViewUnifiedOrderReturn;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UnifiedOrderReturnGoodsMapperEx {

	List<UnifiedOrderReturnGoods> findByRefundOrderSn(@Param("refundOrderSn") String refundOrderSn);

	UnifiedOrderReturnGoods findByRefundOrderSnGoodsId(@Param("refundOrderSn") String refundOrderSn, @Param("goodsId") Long goodsId);

	List<ViewUnifiedOrderReturn> findView(Map<String, Object> params);
}