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