Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
59f763b6
Commit
59f763b6
authored
Jul 21, 2019
by
macro
Browse files
Update OmsPortalOrderServiceImpl.java
parent
af56eedd
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/java/com/macro/mall/portal/service/impl/OmsPortalOrderServiceImpl.java
View file @
59f763b6
...
...
@@ -386,7 +386,7 @@ public class OmsPortalOrderServiceImpl implements OmsPortalOrderService {
private
void
handleRealAmount
(
List
<
OmsOrderItem
>
orderItemList
)
{
for
(
OmsOrderItem
orderItem
:
orderItemList
)
{
//原价-促销
价格
-优惠券抵扣-积分抵扣
//原价-促销
优惠
-优惠券抵扣-积分抵扣
BigDecimal
realAmount
=
orderItem
.
getProductPrice
()
.
subtract
(
orderItem
.
getPromotionAmount
())
.
subtract
(
orderItem
.
getCouponAmount
())
...
...
Write
Preview
Supports
Markdown
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