|
@@ -273,6 +273,7 @@ func (suMoneyService *SuMoneyService) ListSuMoneyById(exportSuMoneyCommand *comm |
|
@@ -273,6 +273,7 @@ func (suMoneyService *SuMoneyService) ListSuMoneyById(exportSuMoneyCommand *comm |
273
|
if err := exportSuMoneyCommand.ValidateCommand(); err != nil {
|
273
|
if err := exportSuMoneyCommand.ValidateCommand(); err != nil {
|
274
|
return nil, application.ThrowError(application.ARG_ERROR, err.Error())
|
274
|
return nil, application.ThrowError(application.ARG_ERROR, err.Error())
|
275
|
}
|
275
|
}
|
|
|
276
|
+
|
276
|
transactionContext, err := factory.CreateTransactionContext(nil)
|
277
|
transactionContext, err := factory.CreateTransactionContext(nil)
|
277
|
if err != nil {
|
278
|
if err != nil {
|
278
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
279
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
|
@@ -313,6 +314,7 @@ func (suMoneyService *SuMoneyService) ListSuMoneyTransactionRecordById(exportSuM |
|
@@ -313,6 +314,7 @@ func (suMoneyService *SuMoneyService) ListSuMoneyTransactionRecordById(exportSuM |
313
|
if err := exportSuMoneyTransactionRecordCommand.ValidateCommand(); err != nil {
|
314
|
if err := exportSuMoneyTransactionRecordCommand.ValidateCommand(); err != nil {
|
314
|
return nil, application.ThrowError(application.ARG_ERROR, err.Error())
|
315
|
return nil, application.ThrowError(application.ARG_ERROR, err.Error())
|
315
|
}
|
316
|
}
|
|
|
317
|
+
|
316
|
transactionContext, err := factory.CreateTransactionContext(nil)
|
318
|
transactionContext, err := factory.CreateTransactionContext(nil)
|
317
|
if err != nil {
|
319
|
if err != nil {
|
318
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
320
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|