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

import cn.superdesk.uniorder.dao.entity.base.UnifiedOrderReturn;
import cn.superdesk.uniorder.dto.vo.unified.UnifiedOrderCommonHeadSum;
import cn.superdesk.uniorder.dto.vo.unified.UnifiedOrderReturnVo;
import org.apache.ibatis.annotations.Param;

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

/**
 * @Description: 后边的逻辑与这个表已经关系不大了,但还存在单主体的数据,此表也记录退单真实过来的信息
 * @Author: linjinyu
 * @CreateDate: 2021/10/21 下午2:42
 * @UpdateUser: linjinyu
 * @UpdateDate: 2021/10/21 下午2:42
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Deprecated
public interface UnifiedOrderReturnMapperEx {

	/**
	 * 退单单号找退单
	 *
	 * @param refundOrderSn
	 * @return
	 */
	List<UnifiedOrderReturn> findByRefundOrderSn(@Param("refundOrderSn") String refundOrderSn);

//	UnifiedOrderReturn getByRefundOrderSn(String refundOrderSn);

	/**
	 * 正单单号找退单
	 *
	 * @param orderSn
	 * @return
	 */
	List<UnifiedOrderReturn> findByOrderSn(@Param("orderSn") String orderSn);

//	UnifiedOrderReturn getByOrderSn(String orderSn);

	List<UnifiedOrderReturn> findAll(Map<String, Object> queryMap);

	List<UnifiedOrderReturnVo> findPage(Map<String, Object> queryMap);

	UnifiedOrderCommonHeadSum getPageH(Map<String, Object> params);

}
