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
c6d6fc3a
Commit
c6d6fc3a
authored
Nov 29, 2021
by
周晓航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除测试属性
Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent
560c8abb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
shopping-cart-application-service/src/main/java/cn/freemud/adapter/ShoppingCartConvertAdapter.java
+0
-4
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/adapter/ShoppingCartConvertAdapter.java
View file @
c6d6fc3a
...
@@ -1405,15 +1405,11 @@ public class ShoppingCartConvertAdapter {
...
@@ -1405,15 +1405,11 @@ public class ShoppingCartConvertAdapter {
if
(
isComboxGoods
)
{
if
(
isComboxGoods
)
{
productComboType
=
parentProductBean
.
getProductComboList
().
stream
().
filter
(
p
->
ObjectUtils
.
equals
(
comboxGoods
.
getGoodsId
(),
p
.
getProductId
())).
findFirst
().
orElse
(
new
ProductComboType
());
productComboType
=
parentProductBean
.
getProductComboList
().
stream
().
filter
(
p
->
ObjectUtils
.
equals
(
comboxGoods
.
getGoodsId
(),
p
.
getProductId
())).
findFirst
().
orElse
(
new
ProductComboType
());
comboxGoods
.
setLinkedId
(
productComboType
.
getLinkedId
());
comboxGoods
.
setLinkedId
(
productComboType
.
getLinkedId
());
// fisherman 自定义设置 商品linkedId
comboxGoods
.
setLinkedId
(
"fisherman- 固定"
+
isComboxGoods
);
}
else
{
}
else
{
Map
<
String
,
GroupDetailType
>
map
=
new
HashMap
<>();
Map
<
String
,
GroupDetailType
>
map
=
new
HashMap
<>();
parentProductBean
.
getProductGroupList
().
stream
().
map
(
t
->
t
.
getGroupDetail
()).
forEach
(
group
->
group
.
forEach
(
detailType
->
map
.
put
(
detailType
.
getProductId
(),
detailType
)));
parentProductBean
.
getProductGroupList
().
stream
().
map
(
t
->
t
.
getGroupDetail
()).
forEach
(
group
->
group
.
forEach
(
detailType
->
map
.
put
(
detailType
.
getProductId
(),
detailType
)));
groupDetailType
=
map
.
get
(
comboxGoods
.
getGoodsId
());
groupDetailType
=
map
.
get
(
comboxGoods
.
getGoodsId
());
comboxGoods
.
setLinkedId
(
groupDetailType
.
getLinkedId
());
comboxGoods
.
setLinkedId
(
groupDetailType
.
getLinkedId
());
// fisherman 自定义设置 商品linkedId
comboxGoods
.
setLinkedId
(
"fisherman- 可选"
+
isComboxGoods
);
}
}
// 若是固定商品则取商品详情的FinalPrice,若是可选商品则取MarkUpPrice
// 若是固定商品则取商品详情的FinalPrice,若是可选商品则取MarkUpPrice
...
...
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