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
cc534d89
authored
Dec 26, 2018
by
chongli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单定场使用多张券
parent
6b6c36de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/ctrip/fun/golf/service/order/AbstractOrderService.java
src/main/java/com/ctrip/fun/golf/service/order/AbstractOrderService.java
View file @
cc534d89
...
...
@@ -715,7 +715,7 @@ public abstract class AbstractOrderService<H extends AbstractOrderBean<T>, T> ex
throw
new
OrderException
(-
5
,
"抵用券订单金额计算有误"
);
}
if
(
abstractOrderBean
.
getVoucherList
()!=
null
&&
abstractOrderBean
.
getVoucherList
().
size
()>
1
)
{
throw
new
OrderException
(-
5
,
"只能使用一张抵用券"
);
//
throw new OrderException(-5, "只能使用一张抵用券");
}
// 发票支付方式选择积分
if
(
abstractOrderBean
.
isHasInvoice
()
&&
abstractOrderBean
.
getInvoice
().
getPayType
()
==
2
)
{
...
...
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