作者 tangxvhui

修正事务错误

@@ -1604,9 +1604,9 @@ func (srv *SummaryEvaluationService) GetTargetEvaluationResult(param *command.Qu @@ -1604,9 +1604,9 @@ func (srv *SummaryEvaluationService) GetTargetEvaluationResult(param *command.Qu
1604 if err != nil { 1604 if err != nil {
1605 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) 1605 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
1606 } 1606 }
1607 - if err := transactionContext.StartTransaction(); err != nil {  
1608 - return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())  
1609 - } 1607 + // if err := transactionContext.StartTransaction(); err != nil {
  1608 + // return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
  1609 + // }
1610 defer func() { 1610 defer func() {
1611 _ = transactionContext.RollbackTransaction() 1611 _ = transactionContext.RollbackTransaction()
1612 }() 1612 }()