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
af56eedd
Commit
af56eedd
authored
Jul 20, 2019
by
macro
Browse files
Update OmsPromotionServiceImpl.java
parent
e71d807a
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/java/com/macro/mall/portal/service/impl/OmsPromotionServiceImpl.java
View file @
af56eedd
...
...
@@ -64,7 +64,7 @@ public class OmsPromotionServiceImpl implements OmsPromotionService {
BeanUtils
.
copyProperties
(
item
,
cartPromotionItem
);
String
message
=
getLadderPromotionMessage
(
ladder
);
cartPromotionItem
.
setPromotionMessage
(
message
);
//商品原价-折扣
金额
*商品原价
//商品原价-折扣*商品原价
PmsSkuStock
skuStock
=
getOriginalPrice
(
promotionProduct
,
item
.
getProductSkuId
());
BigDecimal
originalPrice
=
skuStock
.
getPrice
();
BigDecimal
reduceAmount
=
originalPrice
.
subtract
(
ladder
.
getDiscount
().
multiply
(
originalPrice
));
...
...
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