|
@@ -146,7 +146,7 @@ func (repository OrderRepository) CountAll(queryOption domain.OrderFindQuery) (i |
|
@@ -146,7 +146,7 @@ func (repository OrderRepository) CountAll(queryOption domain.OrderFindQuery) (i |
146
|
func (repository OrderRepository) FindOne(qureyOptions domain.OrderFindOneQuery) (*domain.Order, error) {
|
146
|
func (repository OrderRepository) FindOne(qureyOptions domain.OrderFindOneQuery) (*domain.Order, error) {
|
147
|
var (
|
147
|
var (
|
148
|
err error
|
148
|
err error
|
149
|
- tx = repository.transactionContext.PgTx
|
149
|
+ tx = repository.transactionContext.PgDd
|
150
|
)
|
150
|
)
|
151
|
m := new(models.Order)
|
151
|
m := new(models.Order)
|
152
|
err = tx.Model(m).
|
152
|
err = tx.Model(m).
|