mirror of
https://git.boos.lat/aibo/BossChat.git
synced 2026-10-30 23:26:09 +00:00
refactor(ticket): rename TicketNoService to TicketNoSequenceService and update references
This commit is contained in:
@@ -199,7 +199,7 @@ func (s *ticketService) CreateTicket(req request.CreateTicketRequest, operator *
|
||||
|
||||
if err := withSQLiteTicketCreateLock(sqls.DB(), func() error {
|
||||
return sqls.WithTransaction(func(ctx *sqls.TxContext) error {
|
||||
ticketNo, err := TicketNoService.nextWithRetry(ctx.Tx, now)
|
||||
ticketNo, err := TicketNoSequenceService.nextWithRetry(ctx.Tx, now)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user