|
@@ -157,7 +157,7 @@ public class UserTicketOrderController extends BaseApiController {
|
|
|
orderAmt = ticketBox.getSalePrice() * param.getOrderNum();
|
|
|
}
|
|
|
|
|
|
- if (TicketBoxStatusEnum.STOP.getValue().equals(ticketBox.getType().getValue())) {
|
|
|
+ if (TicketBoxStatusEnum.STOP.getValue().equals(ticketBox.getStatus().getValue())) {
|
|
|
return AjaxResult.error("盲票已停售!");
|
|
|
}
|
|
|
|
|
@@ -225,7 +225,7 @@ public class UserTicketOrderController extends BaseApiController {
|
|
|
}
|
|
|
|
|
|
TicketBox ticketBox = ticketBoxService.getById(orderSettleVO.getBoxId());
|
|
|
- if (TicketBoxStatusEnum.STOP.getValue().equals(ticketBox.getType().getValue())) {
|
|
|
+ if (TicketBoxStatusEnum.STOP.getValue().equals(ticketBox.getStatus().getValue())) {
|
|
|
return AjaxResult.error("盲票已停售!");
|
|
|
}
|
|
|
|