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
d87ed64b
Commit
d87ed64b
authored
Jun 25, 2021
by
周晓航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化文案显示
Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent
608dd56e
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/calculate/promotion/DeliverySharingService.java
+4
-4
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/calculate/promotion/DeliverySharingService.java
View file @
d87ed64b
...
...
@@ -77,7 +77,7 @@ public class DeliverySharingService {
boolean
isType34
=
verifyActivity
(
discountResult
);
if
(
isType34
)
{
String
desc
=
shoppingCartGoodsResponseVo
.
getDeliveryDiscountDesc
();
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
desc
+
","
+
DELIVERY_DISCOUNT_DESC4
);
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
desc
+
",
并且
"
+
DELIVERY_DISCOUNT_DESC4
);
// 证明使用了配送券 又有活动优惠
if
(
discount
.
getDiscount
().
compareTo
(
0
)
>
0
)
{
shoppingCartGoodsResponseVo
.
setVerCompat
(
discount
.
getDiscount
());
...
...
@@ -103,13 +103,13 @@ public class DeliverySharingService {
shoppingCartGoodsResponseVo
.
setDeliveryAmount
(
deliveryAmount
);
shoppingCartGoodsResponseVo
.
setDiscountDeliveryAmount
(
deliveryAmount
);
shoppingCartGoodsResponseVo
.
setIsDiscountDelivery
(
false
);
// fisherman 有活动
并且
使用了优惠券
// fisherman 有活动 使用了优惠券
boolean
isType34
=
verifyActivity
(
discountResult
);
if
(
isType34
)
{
// 使用了优惠券
shoppingCartGoodsResponseVo
.
setDiscountDeliveryAmount
(
discountResult
.
getDistributionFee
());
String
deliveryDiscountDesc
=
shoppingCartGoodsResponseVo
.
getDeliveryDiscountDesc
();
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
deliveryDiscountDesc
+
","
+
DELIVERY_DISCOUNT_DESC4
);
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
deliveryDiscountDesc
+
",
但
"
+
DELIVERY_DISCOUNT_DESC4
);
}
}
else
{
...
...
@@ -124,7 +124,7 @@ public class DeliverySharingService {
// 使用了优惠券
shoppingCartGoodsResponseVo
.
setDiscountDeliveryAmount
(
discountResult
.
getDistributionFee
());
String
deliveryDiscountDesc
=
shoppingCartGoodsResponseVo
.
getDeliveryDiscountDesc
();
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
deliveryDiscountDesc
+
","
+
DELIVERY_DISCOUNT_DESC4
);
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
deliveryDiscountDesc
+
",
但
"
+
DELIVERY_DISCOUNT_DESC4
);
}
}
}
...
...
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