package com.fs.erp.dto.sdk.wangdianTwo.api;


import com.fs.erp.dto.sdk.wangdianTwo.Pager;
import com.fs.erp.dto.sdk.wangdianTwo.api.dto.*;
import com.fs.erp.dto.sdk.wangdianTwo.impl.Api;

import java.util.List;
public interface WdtTradeAPI
{
	// blyjkcy3
	// 原接口 trade_push.php  ??? ??
	@Api(value = "sales.RawTrade.pushSelf2", paged = false)
	PushSelf2Response pushSelf2(String shopNo, List<PushSelf2Request.RawTrade> rawTradeList,
							  List<PushSelf2Request.RawTradeOrder> rawTradeOrderList, List<PushSelf2Request.DiscountInfo> rawTradeDiscountList);


	// stock_query.php
	@Api(value = "wms.StockSpec.search2", paged = true)
	StockSearch2Response search2(StockSearch2Request request, Pager pager);

	// sales_trade_query.php
	@Api(value = "sales.TradeQuery.querySelfOrderWithDetail", paged = true)
	QuerySelfOrderDetailResponse querySelfOrderWithDetail(QuerySelfOrderDetailRequest request, Pager pager);

    // sales_refund_push.php
	@Api(value = "aftersales.refund.RawRefund.upload2", paged = false)
	RawRefundUpload2Response rawRefundUpload(String shopNo,List<RawRefundUpload2Request.RefundOrder> orderList);






}
