Commit 0a9f40dc by zhiheng.zhang

queryOrderByCode方法添加

parent 10edb6fd
...@@ -123,6 +123,25 @@ public class OrderDownLoadSdkService { ...@@ -123,6 +123,25 @@ public class OrderDownLoadSdkService {
QueryByCodeResponse queryResponse = RequestThirdPartyUtils.httpGetReqComplex(this.restTemplate, url QueryByCodeResponse queryResponse = RequestThirdPartyUtils.httpGetReqComplex(this.restTemplate, url
, createBaseRequest(null, trackingNo), new ParameterizedTypeReference<QueryByCodeResponse>() { , createBaseRequest(null, trackingNo), new ParameterizedTypeReference<QueryByCodeResponse>() {
}); });
return queryResponse;
}
/**
* 根据订单号查询订单详情
*
* @param partnerId
* @param orderCode
* @param trackingNo
* @param orderCode
* @param trackingNo
* @return
*/
public QueryByCodeResponse queryOrderByCode(String partnerId, String orderCode, String trackingNo,Long startTimestamp,Long endTimestamp) {
String url = InterfaceAddressConstant.QUERY_ORDER_BY_CODE + "?orderCode=" + orderCode + "&partnerId=" + partnerId+ "&startTimestamp=" + startTimestamp+ "&endTimestamp=" + endTimestamp;
QueryByCodeResponse queryResponse = RequestThirdPartyUtils.httpGetReqComplex(this.restTemplate, url
, createBaseRequest(null, trackingNo), new ParameterizedTypeReference<QueryByCodeResponse>() {
});
return queryResponse; return queryResponse;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment