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
7a5624dc
Commit
7a5624dc
authored
Sep 06, 2021
by
胡敬轩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
券码可用券列表查询->购物车->促销新算价
parent
af5c9060
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
shopping-cart-application-service/src/main/java/cn/freemud/adapter/ActivityAdapter.java
+1
-0
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/coupon/CartProduct.java
+4
-0
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/adapter/ActivityAdapter.java
View file @
7a5624dc
...
@@ -258,6 +258,7 @@ public class ActivityAdapter {
...
@@ -258,6 +258,7 @@ public class ActivityAdapter {
CartProduct
cartProduct
=
new
CartProduct
();
CartProduct
cartProduct
=
new
CartProduct
();
cartProduct
.
setProductId
(
discountGood
.
getGoodsId
());
cartProduct
.
setProductId
(
discountGood
.
getGoodsId
());
cartProduct
.
setQuantity
(
discountGood
.
getGoodsQuantity
());
cartProduct
.
setQuantity
(
discountGood
.
getGoodsQuantity
());
cartProduct
.
setOriginalPrice
(
discountGood
.
getOriginalPrice
());
Long
mealDiscountAmount
=
0L
;
//套餐优惠不算在内
Long
mealDiscountAmount
=
0L
;
//套餐优惠不算在内
if
(
CollectionUtils
.
isNotEmpty
(
discountGood
.
getDiscounts
())){
if
(
CollectionUtils
.
isNotEmpty
(
discountGood
.
getDiscounts
())){
...
...
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/coupon/CartProduct.java
View file @
7a5624dc
...
@@ -21,6 +21,10 @@ public class CartProduct {
...
@@ -21,6 +21,10 @@ public class CartProduct {
*/
*/
private
String
productId
;
private
String
productId
;
/**
/**
* 商品原价(分)
*/
private
Long
originalPrice
;
/**
* 总原价金额(包括主商品+可选搭配+加料商品)
* 总原价金额(包括主商品+可选搭配+加料商品)
*/
*/
private
Long
originalTotalAmount
;
private
Long
originalTotalAmount
;
...
...
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