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
2bbb31b1
Commit
2bbb31b1
authored
Jul 09, 2021
by
李学兴
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/qa' into qa
parents
cb161559
2a893850
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
order-management/src/main/java/cn/freemud/management/service/handle/SaasOrderHandle.java
+4
-3
shopping-cart-application-service/src/main/java/cn/freemud/adapter/CouponAdapter.java
+1
-1
No files found.
order-management/src/main/java/cn/freemud/management/service/handle/SaasOrderHandle.java
View file @
2bbb31b1
...
...
@@ -112,9 +112,10 @@ public class SaasOrderHandle {
public
BaseResponse
orderDone
(
OrderManagerRequest
request
,
QueryOrdersResponse
.
DataBean
.
OrderBean
orderBean
)
{
BaseQueryOrderRequest
orderDoneRequest
=
orderSdkAdapter
.
getOrderConfirmRequest
(
request
.
getOperator
(),
orderBean
);
//合阔pos 商户订单状态不自动扭转
if
(
CollectionUtils
.
isNotEmpty
(
notAutomaticTwistPartnerId
)
&&
notAutomaticTwistPartnerId
.
contains
(
orderBean
.
getCompanyId
()))
{
orderDoneRequest
.
setNotAutomaticTwist
(
true
);
}
// 2021-07-07 合阔自动
// if (CollectionUtils.isNotEmpty(notAutomaticTwistPartnerId) && notAutomaticTwistPartnerId.contains(orderBean.getCompanyId())) {
// orderDoneRequest.setNotAutomaticTwist(true);
// }
BaseOrderResponse
baseOrderResponse
=
orderCenterSdkService
.
orderDone
(
orderDoneRequest
);
if
(
baseOrderResponse
==
null
||
ObjectUtils
.
notEqual
(
ResponseResult
.
SUCCESS
.
getCode
(),
baseOrderResponse
.
getErrcode
().
toString
()))
{
return
ResponseUtil
.
error
(
ResponseResult
.
DONE_ORDER_FAIL
);
...
...
shopping-cart-application-service/src/main/java/cn/freemud/adapter/CouponAdapter.java
View file @
2bbb31b1
...
...
@@ -572,7 +572,7 @@ public class CouponAdapter {
// 重新校验一遍 couponcodes
if
(
CollectionUtils
.
isNotEmpty
(
couponPromotionVO
.
getCouponCodes
()))
{
Set
<
String
>
collect
=
couponPromotionVO
.
getCouponCodes
().
stream
().
filter
(
s
->
!
""
.
equals
(
s
)).
collect
(
Collectors
.
toSet
());
if
(
CollectionUtils
.
is
Not
Empty
(
collect
))
{
if
(
CollectionUtils
.
isEmpty
(
collect
))
{
couponPromotionVO
.
setCouponCodes
(
new
HashSet
<>());
}
}
...
...
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