Commit 67c9dd1a by xiaoer.li@freemud.com

fix:timeOut

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