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
6380ca4d
Commit
6380ca4d
authored
Jun 17, 2021
by
徐康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品校验
parent
86373e8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/ShoppingCartMCoffeeServiceImpl.java
+0
-8
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/ShoppingCartMCoffeeServiceImpl.java
View file @
6380ca4d
...
@@ -839,7 +839,6 @@ public class ShoppingCartMCoffeeServiceImpl {
...
@@ -839,7 +839,6 @@ public class ShoppingCartMCoffeeServiceImpl {
List
<
CartGoods
>
cartGoodsList
=
assortmentSdkService
.
getShoppingCart
(
partnerId
,
storeId
,
userId
,
sessionId
,
""
,
shoppingCartBaseService
);
List
<
CartGoods
>
cartGoodsList
=
assortmentSdkService
.
getShoppingCart
(
partnerId
,
storeId
,
userId
,
sessionId
,
""
,
shoppingCartBaseService
);
ApiLog
.
debug
(
"cartGoodsList: {}"
,
JSONObject
.
toJSONString
(
cartGoodsList
));
ApiLog
.
debug
(
"cartGoodsList: {}"
,
JSONObject
.
toJSONString
(
cartGoodsList
));
CartGoods
monthCardProduct
=
null
;
CartGoods
monthCardProduct
=
null
;
CartGoods
B3S1CouponProduct
=
null
;
// 如果购物车商品不为空, 则check购物车中所有商品
// 如果购物车商品不为空, 则check购物车中所有商品
if
(
CollectionUtils
.
isNotEmpty
(
cartGoodsList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
cartGoodsList
))
{
// check购物车中所有商品
// check购物车中所有商品
...
@@ -855,19 +854,12 @@ public class ShoppingCartMCoffeeServiceImpl {
...
@@ -855,19 +854,12 @@ public class ShoppingCartMCoffeeServiceImpl {
monthCardProduct
=
goods
;
monthCardProduct
=
goods
;
continue
;
continue
;
}
}
if
(
StringUtils
.
equals
(
goods
.
getSkuId
(),
"9998"
)){
B3S1CouponProduct
=
goods
;
continue
;
}
temList
.
add
(
goods
);
temList
.
add
(
goods
);
}
}
cartGoodsList
=
checkCartGoods
(
partnerId
,
storeId
,
orderType
,
menuType
,
shoppingCartGoodsResponseVo
,
temList
,
sessionId
);
cartGoodsList
=
checkCartGoods
(
partnerId
,
storeId
,
orderType
,
menuType
,
shoppingCartGoodsResponseVo
,
temList
,
sessionId
);
if
(
null
!=
monthCardProduct
)
{
if
(
null
!=
monthCardProduct
)
{
cartGoodsList
.
add
(
monthCardProduct
);
cartGoodsList
.
add
(
monthCardProduct
);
}
}
if
(
null
!=
B3S1CouponProduct
)
{
cartGoodsList
.
add
(
B3S1CouponProduct
);
}
if
(
CollectionUtils
.
isNotEmpty
(
cartGoodsList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
cartGoodsList
))
{
int
size
=
cartGoodsList
.
size
();
int
size
=
cartGoodsList
.
size
();
...
...
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