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
6470cac9
Commit
6470cac9
authored
Nov 17, 2021
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下单实时校验券的可用时间段
parent
ed58e00f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
order-application-service/src/main/java/cn/freemud/service/impl/CheckOrder.java
+2
-0
No files found.
order-application-service/src/main/java/cn/freemud/service/impl/CheckOrder.java
View file @
6470cac9
...
...
@@ -770,6 +770,8 @@ public class CheckOrder {
}
int
i
=
1
;
for
(
GetCouponDetailResponseDto
.
Details
details
:
getCouponDetailResponseDto
.
getDetails
()){
//券的可用时间段校验,点餐和结算页虽然有校验,但无法确定会立马下单,避免在创建订单成功后锁定优惠券失败,创建无效订单
checkCouonRedeemTime
(
details
.
getActiveRedeemTimeIntervalList
());
ShoppingCartInfoRequestVo
.
couponCode
coupon
=
new
ShoppingCartInfoRequestVo
.
couponCode
();
coupon
.
setCouponCode
(
details
.
getCode
());
coupon
.
setActivityCode
(
details
.
getActive
().
getActiveCode
());
...
...
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