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
312c4353
Commit
312c4353
authored
Aug 20, 2020
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购物车总金额不包括配送
parent
df5ada88
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/calculation/CalculationServiceImpl.java
+4
-2
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/calculation/CalculationServiceImpl.java
View file @
312c4353
...
@@ -410,13 +410,15 @@ public class CalculationServiceImpl {
...
@@ -410,13 +410,15 @@ public class CalculationServiceImpl {
}
}
shoppingCartGoodsResponseVo
.
setOriginalTotalAmount
(
calculationDiscount
==
null
?
totalOriginalAmount
:
calculationDiscount
.
getOriginalTotalAmount
());
shoppingCartGoodsResponseVo
.
setOriginalTotalAmount
(
calculationDiscount
==
null
?
totalOriginalAmount
:
calculationDiscount
.
getOriginalTotalAmount
());
shoppingCartGoodsResponseVo
.
setTotalAmount
(
calculationDiscount
==
null
?
totalAmount
:
calculationDiscount
.
getTotalAmount
());
shoppingCartGoodsResponseVo
.
setTotalAmount
(
calculationDiscount
==
null
?
totalAmount
:
calculationDiscount
.
getTotalAmount
());
shoppingCartGoodsResponseVo
.
setOriginalTotalAmount
(
shoppingCartGoodsResponseVo
.
getOriginalTotalAmount
()
+
totalPackgeAmount
);
shoppingCartGoodsResponseVo
.
setTotalAmount
(
shoppingCartGoodsResponseVo
.
getTotalAmount
()
+
totalPackgeAmount
);
shoppingCartGoodsResponseVo
.
setNewPackAmount
(
totalPackgeAmount
);
shoppingCartGoodsResponseVo
.
setNewPackAmount
(
totalPackgeAmount
);
shoppingCartGoodsResponseVo
.
setTotalDiscountAmount
(
calculationDiscount
==
null
?
0L
:
calculationDiscount
.
getTotalDiscountAmount
());
shoppingCartGoodsResponseVo
.
setTotalDiscountAmount
(
calculationDiscount
==
null
?
0L
:
calculationDiscount
.
getTotalDiscountAmount
());
if
(
calculationDiscount
!=
null
&&
calculationDiscount
.
getDeliveryAmount
()
==
null
){
if
(
calculationDiscount
!=
null
&&
calculationDiscount
.
getDeliveryAmount
()
==
null
){
shoppingCartGoodsResponseVo
.
setDeliveryAmount
(
deliveryAmount
);
shoppingCartGoodsResponseVo
.
setDeliveryAmount
(
deliveryAmount
);
shoppingCartGoodsResponseVo
.
setDiscountDeliveryAmount
(
deliveryAmount
);
shoppingCartGoodsResponseVo
.
setDiscountDeliveryAmount
(
deliveryAmount
);
shoppingCartGoodsResponseVo
.
setOriginalTotalAmount
(
shoppingCartGoodsResponseVo
.
getOriginalTotalAmount
()
+
deliveryAmount
);
shoppingCartGoodsResponseVo
.
setTotalAmount
(
shoppingCartGoodsResponseVo
.
getTotalAmount
()
+
deliveryAmount
);
}
}
}
}
...
...
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