Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
yohoufo-fore
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
wujiexiang
2019-06-18 16:33:41 +0800
Commit
b3786adb477884ecbcb69e2b13d0e643e38c9674
2 parents
d7791144
2f7eb6f1
Merge branch 'dev-coupon-recommend' into test6.9.6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
order/src/main/java/com/yohoufo/order/model/response/ShoppingCoupon.java
order/src/main/java/com/yohoufo/order/service/support/CouponSupport.java
promotion/src/main/java/com/yohoufo/promotion/convert/CouponConvert.java
order/src/main/java/com/yohoufo/order/model/response/ShoppingCoupon.java
View file @
b3786ad
...
...
@@ -55,6 +55,10 @@ public class ShoppingCoupon {
@JSONField
(
name
=
"is_selected_support"
)
private
String
isSelectedSupport
;
//即将过期,Y 是
@JSONField
(
name
=
"is_expired_soon"
)
private
String
isExpiredSoon
;
//使用说明
private
List
<
String
>
notes
;
}
...
...
order/src/main/java/com/yohoufo/order/service/support/CouponSupport.java
View file @
b3786ad
...
...
@@ -48,6 +48,7 @@ public class CouponSupport {
shoppingCoupon
.
setSelected
(
OrderConstant
.
N_STR
);
shoppingCoupon
.
setIsSelectedSupport
(
OrderConstant
.
Y_STR
);
shoppingCoupon
.
setIsExpiredSoon
(
userCouponsBo
.
getIsExpiredSoon
());
shoppingCoupon
.
setNotes
(
userCouponsBo
.
getNotes
());
...
...
promotion/src/main/java/com/yohoufo/promotion/convert/CouponConvert.java
View file @
b3786ad
...
...
@@ -53,6 +53,9 @@ public class CouponConvert {
//优惠券说明
couponBo
.
setNotes
(
Lists
.
newArrayList
(
coupon
.
getRemark
()));
//即将过期
couponBo
.
setIsExpiredSoon
(
isExpiredSoon
(
userCoupon
)
?
Constants
.
YES
:
Constants
.
NO
);
if
(
couponType
!=
null
){
couponBo
.
setCouponType
(
couponType
.
getId
());
couponBo
.
setCouponTypeName
(
couponType
.
getCaption
());
...
...
Please
register
or
login
to post a comment