|
@@ -224,6 +224,11 @@ public class UserTicketOrderController extends BaseApiController {
|
|
|
return AjaxResult.error("订单已过期,请重新下单");
|
|
|
}
|
|
|
|
|
|
+ TicketBox ticketBox = ticketBoxService.getById(orderSettleVO.getBoxId());
|
|
|
+ if (TicketBoxStatusEnum.STOP.getValue().equals(ticketBox.getType().getValue())) {
|
|
|
+ return AjaxResult.error("盲票已停售!");
|
|
|
+ }
|
|
|
+
|
|
|
String orderId = userTicketOrderService.submitOrder(userId, orderSettleVO, userShareVO);
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("orderId", orderId);
|