|
@@ -236,7 +236,7 @@ public class ChannelOrderController extends BaseApiController {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
TicketBox ticketBox = ticketBoxService.getById(param.getBoxId());
|
|
TicketBox ticketBox = ticketBoxService.getById(param.getBoxId());
|
|
- if (param.getIsPre() == 1) {
|
|
|
|
|
|
+ if (Objects.nonNull(param.getIsPre()) && param.getIsPre() == 1) {
|
|
// 预购票金额计算处理
|
|
// 预购票金额计算处理
|
|
orderAmt = ticketBox.getPkgPrePrice() * param.getOrderNum();
|
|
orderAmt = ticketBox.getPkgPrePrice() * param.getOrderNum();
|
|
// 设置类型
|
|
// 设置类型
|