Commit aca0ccda by Huang Linyu

remove the limit of communeQuantity>1

parent 9dd90cef
...@@ -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, "订单参数有误");
} }
} }*/
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment