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
6ac9fe0c
Commit
6ac9fe0c
authored
Jun 07, 2021
by
徐康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量加车报错修改
parent
a5768aaa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/ShoppingCartMCoffeeServiceImpl.java
+4
-4
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/ShoppingCartMCoffeeServiceImpl.java
View file @
6ac9fe0c
...
@@ -2089,21 +2089,21 @@ public class ShoppingCartMCoffeeServiceImpl {
...
@@ -2089,21 +2089,21 @@ public class ShoppingCartMCoffeeServiceImpl {
}
}
if
(
CollectionUtils
.
isNotEmpty
(
notFoundSpu
)){
if
(
CollectionUtils
.
isNotEmpty
(
notFoundSpu
)){
toastMsg
=
toastMsg
.
concat
(
CART_PRODUCT_NOT_FOUND
.
replace
(
"$spuName"
,
StringUtils
.
join
(
notFoundSpu
,
","
)));
toastMsg
=
toastMsg
.
concat
(
CART_PRODUCT_NOT_FOUND
.
replace
(
"$spuName"
,
StringUtils
.
join
(
notFoundSpu
,
","
)));
toastMsgMap
.
put
(
CART_PRODUCT_NOT_FOUND
,
invali
dSpu
);
toastMsgMap
.
put
(
CART_PRODUCT_NOT_FOUND
,
notFoun
dSpu
);
}
}
if
(
CollectionUtils
.
isNotEmpty
(
changePriceSpu
)){
if
(
CollectionUtils
.
isNotEmpty
(
changePriceSpu
)){
toastMsg
=
toastMsg
.
concat
(
CART_PRODUCT_PRICE_CHANGE
.
replace
(
"$spuName"
,
StringUtils
.
join
(
changePriceSpu
,
","
)));
toastMsg
=
toastMsg
.
concat
(
CART_PRODUCT_PRICE_CHANGE
.
replace
(
"$spuName"
,
StringUtils
.
join
(
changePriceSpu
,
","
)));
toastMsgMap
.
put
(
CART_PRODUCT_PRICE_CHANGE
,
invalid
Spu
);
toastMsgMap
.
put
(
CART_PRODUCT_PRICE_CHANGE
,
changePrice
Spu
);
}
}
if
(
CollectionUtils
.
isNotEmpty
(
numErrorSpu
)){
if
(
CollectionUtils
.
isNotEmpty
(
numErrorSpu
)){
toastMsg
=
toastMsg
.
concat
(
"您选择的【$spuName】不满足购买条件"
.
replace
(
"$spuName"
,
StringUtils
.
join
(
numErrorSpu
,
","
)));
toastMsg
=
toastMsg
.
concat
(
"您选择的【$spuName】不满足购买条件"
.
replace
(
"$spuName"
,
StringUtils
.
join
(
numErrorSpu
,
","
)));
toastMsgMap
.
put
(
"您选择的【$spuName】不满足购买条件"
,
invalid
Spu
);
toastMsgMap
.
put
(
"您选择的【$spuName】不满足购买条件"
,
numError
Spu
);
}
}
if
(
CollectionUtils
.
isNotEmpty
(
disableCoupon
)){
if
(
CollectionUtils
.
isNotEmpty
(
disableCoupon
)){
toastMsg
=
toastMsg
.
concat
(
COUPON_IS_DISABLE
.
replace
(
"$couponName"
,
StringUtils
.
join
(
disableCoupon
,
","
)));
toastMsg
=
toastMsg
.
concat
(
COUPON_IS_DISABLE
.
replace
(
"$couponName"
,
StringUtils
.
join
(
disableCoupon
,
","
)));
toastMsgMap
.
put
(
COUPON_IS_DISABLE
,
invalidSpu
);
toastMsgMap
.
put
(
COUPON_IS_DISABLE
,
disableCoupon
);
}
}
checkCartRequest
.
getShoppingCartGoodsResponseVo
().
setToastMsg
(
toastMsg
);
checkCartRequest
.
getShoppingCartGoodsResponseVo
().
setToastMsg
(
toastMsg
);
...
...
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