Commit 7f857434 by 周晓航

完成调用基础服务带入参数

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 11887bfc
...@@ -92,6 +92,7 @@ public class OrderSdkAdapter { ...@@ -92,6 +92,7 @@ public class OrderSdkAdapter {
} }
if (Objects.nonNull(otherParamDTO)) { if (Objects.nonNull(otherParamDTO)) {
orderRequest.setDispatchType(otherParamDTO.getDispatchType()); orderRequest.setDispatchType(otherParamDTO.getDispatchType());
orderRequest.setSemiAutoDispathTime(otherParamDTO.getSemiAutoDispathTime());
} }
return orderRequest; return orderRequest;
} }
......
...@@ -15,4 +15,8 @@ public class OtherParamDTO { ...@@ -15,4 +15,8 @@ public class OtherParamDTO {
* 内置传参使用 * 内置传参使用
*/ */
private String dispatchType; private String dispatchType;
/**
* 半自动派单时间 (分钟)
*/
private Integer semiAutoDispathTime;
} }
...@@ -70,4 +70,8 @@ public class BaseQueryOrderRequest extends BaseConfig { ...@@ -70,4 +70,8 @@ public class BaseQueryOrderRequest extends BaseConfig {
* 内置传参使用 * 内置传参使用
*/ */
private String dispatchType; private String dispatchType;
/**
* 半自动派单时间 (分钟)
*/
private Integer semiAutoDispathTime;
} }
...@@ -918,6 +918,7 @@ public class OrderCenterSdkServiceImpl implements OrderCenterSdkService { ...@@ -918,6 +918,7 @@ public class OrderCenterSdkServiceImpl implements OrderCenterSdkService {
request.setOrderCode(baseQueryOrderRequest.getOrderId()); request.setOrderCode(baseQueryOrderRequest.getOrderId());
request.setOperator(baseQueryOrderRequest.getOperator()); request.setOperator(baseQueryOrderRequest.getOperator());
request.setDispatchType(baseQueryOrderRequest.getDispatchType()); request.setDispatchType(baseQueryOrderRequest.getDispatchType());
request.setSemiAutoDispathTime(baseQueryOrderRequest.getSemiAutoDispathTime());
// 引入门店基础服务 查询自动制作完成配置时间 // 引入门店基础服务 查询自动制作完成配置时间
setTimeout(baseQueryOrderRequest,request); setTimeout(baseQueryOrderRequest,request);
com.freemud.application.sdk.api.ordercenter.response.OrderBaseResp response = orderSdkService.acceptOrder(request, baseQueryOrderRequest.getTrackingNo()); com.freemud.application.sdk.api.ordercenter.response.OrderBaseResp response = orderSdkService.acceptOrder(request, baseQueryOrderRequest.getTrackingNo());
......
...@@ -74,6 +74,7 @@ public class SaasOrderHandle { ...@@ -74,6 +74,7 @@ public class SaasOrderHandle {
//订单接单 //订单接单
OtherParamDTO dto = new OtherParamDTO(); OtherParamDTO dto = new OtherParamDTO();
dto.setDispatchType(request.getDispatchType()); dto.setDispatchType(request.getDispatchType());
dto.setSemiAutoDispathTime(request.getSemiAutoDispathTime());
BaseQueryOrderRequest orderConfirmRequest = orderSdkAdapter.getOrderConfirmRequest(request.getOperator(), orderBean, dto); BaseQueryOrderRequest orderConfirmRequest = orderSdkAdapter.getOrderConfirmRequest(request.getOperator(), orderBean, dto);
orderSdkAdapter.convert2wmDeliveryTimeOut(orderConfirmRequest,this.wmDeliveryTimeOut); orderSdkAdapter.convert2wmDeliveryTimeOut(orderConfirmRequest,this.wmDeliveryTimeOut);
......
...@@ -32,4 +32,8 @@ public class POSOrderOperationBaseReq { ...@@ -32,4 +32,8 @@ public class POSOrderOperationBaseReq {
* 内置传参使用 * 内置传参使用
*/ */
private String dispatchType; private String dispatchType;
/**
* 半自动派单时间 (分钟)
*/
private Integer semiAutoDispathTime;
} }
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