|
@@ -213,7 +213,7 @@ public class UserTicketOrderServiceImpl extends
|
|
|
Ticket ticket = ticketService.getById(orderSettleVO.getTicketId());
|
|
|
Assert.isTrue(ticket.getStatus() == TicketStatusEnum.NOT_PAY,
|
|
|
"盲票已付款,ticketId:" + ticket.getTicketId());
|
|
|
- if (redisCache.getCacheObject(
|
|
|
+ if (null != redisCache.getCacheObject(
|
|
|
RedisKey.build(RedisKey.OFFLINE_TICKET_ID_KEY, ticket.getTicketId()))) {
|
|
|
LogUtil.error(logger, "线下盲票重复购买,ticketNo:", ticket.getSerialNo());
|
|
|
throw new ServiceException("重复购买,请稍后再试");
|