Commit 67c9dd1a by xiaoer.li@freemud.com

fix:timeOut

parent 534649e2
...@@ -3295,9 +3295,8 @@ public class OrderSdkAdapter { ...@@ -3295,9 +3295,8 @@ public class OrderSdkAdapter {
} }
public BaseQueryOrderRequest convert2wmDeliveryTimeOut(BaseQueryOrderRequest orderConfirmRequest ,long timeOut) { public BaseQueryOrderRequest convert2wmDeliveryTimeOut(BaseQueryOrderRequest orderConfirmRequest ,Integer timeOut) {
Integer takeOutTimeOut = Integer.parseInt(String.valueOf(TimeUnit.HOURS.toMinutes(timeOut))); orderConfirmRequest.setTimeout(timeOut);
orderConfirmRequest.setTimeout(takeOutTimeOut);
return orderConfirmRequest; return orderConfirmRequest;
} }
} }
...@@ -48,8 +48,8 @@ public class SaasOrderHandle { ...@@ -48,8 +48,8 @@ public class SaasOrderHandle {
@Autowired @Autowired
private OrderCenterSdkService orderCenterSdkService; private OrderCenterSdkService orderCenterSdkService;
@Value("${saasDeliveryTimeOut:3}") @Value("${saasDeliveryTimeOut}")
private long wmDeliveryTimeOut; private Integer wmDeliveryTimeOut;
/** /**
* 确认接单 * 确认接单
......
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