package repo import ( "context" "time" "voucher/internal/biz/bo" ) type UseLogRepo interface { Create(ctx context.Context, req *bo.UseLogBo) (*bo.UseLogBo, error) GetByID(ctx context.Context, id uint64) (*bo.UseLogBo, error) GetByUseTimeOrder(ctx context.Context, orderNo string, useTime *time.Time) (*bo.UseLogBo, error) }