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
aca0ccda
authored
Jan 09, 2018
by
Huang Linyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove the limit of communeQuantity>1
parent
9dd90cef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/ctrip/fun/golf/service/order/EventActivityOrderService.java
src/main/java/com/ctrip/fun/golf/service/order/EventActivityOrderService.java
View file @
aca0ccda
...
@@ -812,7 +812,7 @@ public class EventActivityOrderService extends
...
@@ -812,7 +812,7 @@ public class EventActivityOrderService extends
}
else
if
(
intInventory
!=
null
&&
intInventory
<
resourceInfo
.
getQuantity
())
{
}
else
if
(
intInventory
!=
null
&&
intInventory
<
resourceInfo
.
getQuantity
())
{
throw
new
OrderException
(-
4
,
"预订的资源库存不足,该TeeTime库存为:"
+
intInventory
);
throw
new
OrderException
(-
4
,
"预订的资源库存不足,该TeeTime库存为:"
+
intInventory
);
}
}
if
(
isCommuneUser
)
{
/*
if (isCommuneUser) {
// 社员订单最多只能有一个会员
// 社员订单最多只能有一个会员
if (resourceInfo.getCommuneQuantity() > 1) {
if (resourceInfo.getCommuneQuantity() > 1) {
throw new OrderException(-11, "订单参数有误");
throw new OrderException(-11, "订单参数有误");
...
@@ -822,7 +822,7 @@ public class EventActivityOrderService extends
...
@@ -822,7 +822,7 @@ public class EventActivityOrderService extends
if (resourceInfo.getCommuneQuantity() > 0) {
if (resourceInfo.getCommuneQuantity() > 0) {
throw new OrderException(-11, "订单参数有误");
throw new OrderException(-11, "订单参数有误");
}
}
}
}
*/
}
}
}
}
...
...
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