Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
62231bba
authored
Nov 23, 2017
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add the tip at the checkflash when paid
parent
df86a934
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
src/main/java/com/ctrip/fun/golf/service/product/CourseResourceService.java
src/main/java/com/ctrip/fun/golf/service/product/CourseResourceService.java
View file @
62231bba
...
...
@@ -851,6 +851,14 @@ public class CourseResourceService extends
return
FlashSaleStatusEnum
.
CANCELING
.
getValue
();
// 您的抢购单正在取消中
}
}
else
{
for
(
FlashSale
flashSale
:
flashSaleList
)
{
if
(
flashSale
.
getOrderId
()
!=
null
){
Order
order
=
orderDao
.
findById
(
flashSale
.
getOrderId
());
if
(
order
.
isPaied
()){
return
FlashSaleStatusEnum
.
ALREADY_GET_AND_PAID
.
getValue
();
}
}
}
ResourceInventoryQuery
riQuery
=
new
ResourceInventoryQuery
();
riQuery
.
setResourceCategory
(
ResourceCategoryEnum
.
COURSE
.
getValue
());
riQuery
.
setResourceId
(
resourceId
);
...
...
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