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
19cb0f17
Commit
19cb0f17
authored
Sep 22, 2020
by
孙昱
Browse files
Options
Browse Files
Download
Plain Diff
sunyu::update::fix bug for conflicts
parents
9b991a28
4731f5cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/calculation/CouponDiscountCalculation.java
+3
-3
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/entity/CouponProductVo.java
+1
-1
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/calculation/CouponDiscountCalculation.java
View file @
19cb0f17
...
@@ -343,6 +343,7 @@ public class CouponDiscountCalculation {
...
@@ -343,6 +343,7 @@ public class CouponDiscountCalculation {
couponProductVo
.
setKeyProductCode
(
comboxGoods
.
getCustomerCode
());
couponProductVo
.
setKeyProductCode
(
comboxGoods
.
getCustomerCode
());
couponProductVo
.
setQuantity
(
comboxGoods
.
getQty
());
couponProductVo
.
setQuantity
(
comboxGoods
.
getQty
());
couponProductVo
.
setProductId
(
comboxGoods
.
getGoodsId
());
couponProductVo
.
setProductId
(
comboxGoods
.
getGoodsId
());
couponProductVo
.
setCouponCode
(
cartGood
.
getCouponCode
());
couponProductVo
.
setCategoryCode
(
null
);
couponProductVo
.
setCategoryCode
(
null
);
productList
.
add
(
couponProductVo
);
productList
.
add
(
couponProductVo
);
});
});
...
@@ -354,6 +355,7 @@ public class CouponDiscountCalculation {
...
@@ -354,6 +355,7 @@ public class CouponDiscountCalculation {
couponProductVo
.
setKeyProductCode
(
comboxGoods
.
getCustomerCode
());
couponProductVo
.
setKeyProductCode
(
comboxGoods
.
getCustomerCode
());
couponProductVo
.
setQuantity
(
comboxGoods
.
getQty
());
couponProductVo
.
setQuantity
(
comboxGoods
.
getQty
());
couponProductVo
.
setProductId
(
comboxGoods
.
getGoodsId
());
couponProductVo
.
setProductId
(
comboxGoods
.
getGoodsId
());
couponProductVo
.
setCouponCode
(
cartGood
.
getCouponCode
());
couponProductVo
.
setCategoryCode
(
null
);
couponProductVo
.
setCategoryCode
(
null
);
productList
.
add
(
couponProductVo
);
productList
.
add
(
couponProductVo
);
});
});
...
@@ -365,9 +367,7 @@ public class CouponDiscountCalculation {
...
@@ -365,9 +367,7 @@ public class CouponDiscountCalculation {
resList
.
add
(
res
);
resList
.
add
(
res
);
}
}
return
resList
;
return
resList
;
}
}
// public String getAppSecret(String partnerId) {
// public String getAppSecret(String partnerId) {
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/entity/CouponProductVo.java
View file @
19cb0f17
...
@@ -22,6 +22,6 @@ public class CouponProductVo {
...
@@ -22,6 +22,6 @@ public class CouponProductVo {
private
String
productId
;
private
String
productId
;
private
Integer
amount
;
private
Integer
amount
;
private
Integer
quantity
;
private
Integer
quantity
;
private
String
couponCode
;
private
String
categoryCode
;
private
String
categoryCode
;
}
}
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