Add Voucher Undian
This commit is contained in:
@@ -117,10 +117,9 @@ type InProgressOrderRepository interface {
|
||||
}
|
||||
|
||||
type VoucherUndianRepo interface {
|
||||
GetActiveUndianEvents(ctx context.Context) ([]*entity.UndianEventDB, error)
|
||||
CreateUndianVouchers(ctx context.Context, vouchers []*entity.UndianVoucherDB) error
|
||||
GetNextVoucherSequence(ctx mycontext.Context) (int64, error)
|
||||
GetActiveUndianEvents(ctx mycontext.Context) ([]*entity.UndianEventDB, error)
|
||||
GetNextVoucherSequenceBatch(ctx mycontext.Context, count int) (int64, error)
|
||||
CreateUndianVouchers(ctx mycontext.Context, vouchers []*entity.UndianVoucherDB) error
|
||||
}
|
||||
|
||||
type orderSvc struct {
|
||||
|
||||
Reference in New Issue
Block a user