|
@@ -223,7 +223,7 @@ public class TicketBoxServiceImpl extends ServiceImpl<TicketBoxMapper, TicketBox
|
|
|
pkgAwards.setQuantity(pkgAwards.getQuantity() - 1);
|
|
|
|
|
|
Ticket ticket = new Ticket();
|
|
|
- ticket.setTicketId(bizIdGenerator.newId());
|
|
|
+ ticket.setTicketId(bizIdGenerator.newIdWithUidSharding(ticketBox.getBoxNo()));
|
|
|
ticket.setBoxId(ticketBox.getBoxId());
|
|
|
ticket.setPkgId(ticketPackage.getPkgId());
|
|
|
ticket.setTitle(ticketBox.getTitle());
|