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
0597866e
Commit
0597866e
authored
Mar 25, 2021
by
缪晖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
华莱士商户号
套餐商品子商品skuid
parent
df8cd7ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
+11
-1
No files found.
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
View file @
0597866e
...
@@ -204,6 +204,8 @@ public class OrderServiceImpl implements Orderservice {
...
@@ -204,6 +204,8 @@ public class OrderServiceImpl implements Orderservice {
*/
*/
@Value
(
"#{'${coco.partnerId}'.split(',')}"
)
@Value
(
"#{'${coco.partnerId}'.split(',')}"
)
private
List
<
String
>
cocoPartnerId
;
private
List
<
String
>
cocoPartnerId
;
@Value
(
"#{'${hls.partnerId}'.split(',')}"
)
private
List
<
String
>
hlsPartnerId
;
@Value
(
"${query.order.es:true}"
)
@Value
(
"${query.order.es:true}"
)
private
Boolean
queryOrderEs
;
private
Boolean
queryOrderEs
;
...
@@ -1417,7 +1419,15 @@ public class OrderServiceImpl implements Orderservice {
...
@@ -1417,7 +1419,15 @@ public class OrderServiceImpl implements Orderservice {
payGitRequestDto
.
setPayType
(
1
);
//1-微信,2-储值卡
payGitRequestDto
.
setPayType
(
1
);
//1-微信,2-储值卡
}
}
if
(
CollectionUtils
.
isNotEmpty
(
queryOrderResponseVo
.
getProducts
()))
{
if
(
CollectionUtils
.
isNotEmpty
(
queryOrderResponseVo
.
getProducts
()))
{
payGitRequestDto
.
setSkuIds
(
queryOrderResponseVo
.
getProducts
().
stream
().
map
(
p
->
p
.
getPid
()).
collect
(
Collectors
.
toList
()));
// add by miaohui for 20210325_华莱士紧急上线需求支付有礼须支持套餐内固定可选商品_miaohui start
List
<
String
>
skuIds
=
queryOrderResponseVo
.
getProducts
().
stream
().
map
(
p
->
p
.
getPid
()).
collect
(
Collectors
.
toList
());
if
(
hlsPartnerId
!=
null
&&
hlsPartnerId
.
contains
(
partnerId
))
{
// 华莱士获取支付有理促销数据时须将套餐商品内固定搭配、可选搭配商品的skuId一同传入
List
subProductSkuIds
=
new
ArrayList
<>();
skuIds
.
addAll
(
subProductSkuIds
);
}
payGitRequestDto
.
setSkuIds
(
skuIds
);
// add by miaohui for 20210325_华莱士紧急上线需求支付有礼须支持套餐内固定可选商品_miaohui end
}
}
if
(
OrderType
.
COLLECT_GOODS
.
getCode
().
intValue
()
==
queryOrderResponseVo
.
getOrderType
()
||
OrderType
.
EAT_IN
.
getCode
().
intValue
()
==
queryOrderResponseVo
.
getOrderType
())
{
if
(
OrderType
.
COLLECT_GOODS
.
getCode
().
intValue
()
==
queryOrderResponseVo
.
getOrderType
()
||
OrderType
.
EAT_IN
.
getCode
().
intValue
()
==
queryOrderResponseVo
.
getOrderType
())
{
payGitRequestDto
.
setOrderWay
(
1
);
payGitRequestDto
.
setOrderWay
(
1
);
...
...
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