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
9b3df509
Commit
9b3df509
authored
Jul 08, 2021
by
缪晖
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/20210707_hekuoOrderAutoComplete_miaohui' into 'qa'
kehuo need auto order complete See merge request
!122
parents
cabfba52
6946e6a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
order-management/src/main/java/cn/freemud/management/service/handle/SaasOrderHandle.java
+4
-3
No files found.
order-management/src/main/java/cn/freemud/management/service/handle/SaasOrderHandle.java
View file @
9b3df509
...
@@ -112,9 +112,10 @@ public class SaasOrderHandle {
...
@@ -112,9 +112,10 @@ public class SaasOrderHandle {
public
BaseResponse
orderDone
(
OrderManagerRequest
request
,
QueryOrdersResponse
.
DataBean
.
OrderBean
orderBean
)
{
public
BaseResponse
orderDone
(
OrderManagerRequest
request
,
QueryOrdersResponse
.
DataBean
.
OrderBean
orderBean
)
{
BaseQueryOrderRequest
orderDoneRequest
=
orderSdkAdapter
.
getOrderConfirmRequest
(
request
.
getOperator
(),
orderBean
);
BaseQueryOrderRequest
orderDoneRequest
=
orderSdkAdapter
.
getOrderConfirmRequest
(
request
.
getOperator
(),
orderBean
);
//合阔pos 商户订单状态不自动扭转
//合阔pos 商户订单状态不自动扭转
if
(
CollectionUtils
.
isNotEmpty
(
notAutomaticTwistPartnerId
)
&&
notAutomaticTwistPartnerId
.
contains
(
orderBean
.
getCompanyId
()))
{
// 2021-07-07 合阔自动
orderDoneRequest
.
setNotAutomaticTwist
(
true
);
// if (CollectionUtils.isNotEmpty(notAutomaticTwistPartnerId) && notAutomaticTwistPartnerId.contains(orderBean.getCompanyId())) {
}
// orderDoneRequest.setNotAutomaticTwist(true);
// }
BaseOrderResponse
baseOrderResponse
=
orderCenterSdkService
.
orderDone
(
orderDoneRequest
);
BaseOrderResponse
baseOrderResponse
=
orderCenterSdkService
.
orderDone
(
orderDoneRequest
);
if
(
baseOrderResponse
==
null
||
ObjectUtils
.
notEqual
(
ResponseResult
.
SUCCESS
.
getCode
(),
baseOrderResponse
.
getErrcode
().
toString
()))
{
if
(
baseOrderResponse
==
null
||
ObjectUtils
.
notEqual
(
ResponseResult
.
SUCCESS
.
getCode
(),
baseOrderResponse
.
getErrcode
().
toString
()))
{
return
ResponseUtil
.
error
(
ResponseResult
.
DONE_ORDER_FAIL
);
return
ResponseUtil
.
error
(
ResponseResult
.
DONE_ORDER_FAIL
);
...
...
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