Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
94791290
Commit
94791290
authored
Jan 21, 2021
by
xiaoer.li@freemud.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:saas外卖判断
parent
67c9dd1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/service/order/OrderCenterSdkServiceImpl.java
+5
-5
No files found.
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/service/order/OrderCenterSdkServiceImpl.java
View file @
94791290
...
@@ -861,19 +861,19 @@ public class OrderCenterSdkServiceImpl implements OrderCenterSdkService {
...
@@ -861,19 +861,19 @@ public class OrderCenterSdkServiceImpl implements OrderCenterSdkService {
StoreResponse
.
Configuration
configuration
=
getStoreAutoConfiguration
(
baseQueryOrderRequest
.
getPartnerId
(),
baseQueryOrderRequest
.
getShopId
(),
baseQueryOrderRequest
.
getTrackingNo
());
StoreResponse
.
Configuration
configuration
=
getStoreAutoConfiguration
(
baseQueryOrderRequest
.
getPartnerId
(),
baseQueryOrderRequest
.
getShopId
(),
baseQueryOrderRequest
.
getTrackingNo
());
if
(
configuration
!=
null
)
{
if
(
configuration
!=
null
)
{
if
(
StringUtils
.
isNotEmpty
(
configuration
.
getAutoDeliveryTakeOrderWorkflowFinishTime
())){
if
(
StringUtils
.
isNotEmpty
(
configuration
.
getAutoDeliveryTakeOrderWorkflowFinishTime
())){
timeOut
=
isTakeOut
?
AutoOrderConfigTime
.
getTime
(
configuration
.
getAutoDeliveryTakeOrderWorkflowFinishTime
())
timeOut
=
isTakeOut
?
takeOutTimeOut
:
takeOutTimeOut
;
:
AutoOrderConfigTime
.
getTime
(
configuration
.
getAutoDeliveryTakeOrderWorkflowFinishTime
())
;
//request.setTimeout(timeOut);
//request.setTimeout(timeOut);
}
}
if
(
StringUtils
.
isNotEmpty
(
baseQueryOrderRequest
.
getExpectTime
())
&&
StringUtils
.
isNotEmpty
(
configuration
.
getAppointAutoDeliveryTakeOrderWorkflowFinishTime
())){
if
(
StringUtils
.
isNotEmpty
(
baseQueryOrderRequest
.
getExpectTime
())
&&
StringUtils
.
isNotEmpty
(
configuration
.
getAppointAutoDeliveryTakeOrderWorkflowFinishTime
())){
timeOut
=
isTakeOut
?
AutoOrderConfigTime
.
getTime
(
configuration
.
getAppointAutoDeliveryTakeOrderWorkflowFinishTime
())
timeOut
=
isTakeOut
?
takeOutTimeOut
:
takeOutTimeOut
;
:
AutoOrderConfigTime
.
getTime
(
configuration
.
getAppointAutoDeliveryTakeOrderWorkflowFinishTime
())
;
//request.setTimeout(AutoOrderConfigTime.getTime(configuration.getAppointAutoDeliveryTakeOrderWorkflowFinishTime()));
//request.setTimeout(AutoOrderConfigTime.getTime(configuration.getAppointAutoDeliveryTakeOrderWorkflowFinishTime()));
}
}
request
.
setTimeout
(
timeOut
);
request
.
setTimeout
(
timeOut
);
}
}
else
{
else
{
request
.
setTimeout
(
timeOut
=
isTakeOut
?
takeOutTimeOut
:
120
);
request
.
setTimeout
(
(
timeOut
=
isTakeOut
?
takeOutTimeOut
:
120
)
);
}
}
com
.
freemud
.
application
.
sdk
.
api
.
ordercenter
.
response
.
BaseResponse
response
=
orderSdkService
.
directDelivery
(
request
,
baseQueryOrderRequest
.
getTrackingNo
());
com
.
freemud
.
application
.
sdk
.
api
.
ordercenter
.
response
.
BaseResponse
response
=
orderSdkService
.
directDelivery
(
request
,
baseQueryOrderRequest
.
getTrackingNo
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment