...
|
...
|
@@ -900,9 +900,6 @@ func (dividendsEstimateService *DividendsEstimateService) ConfirmMoneyIncentives |
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
|
|
}
|
|
|
if err := transactionContext.CommitTransaction(); err != nil {
|
|
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
|
|
}
|
|
|
if confirmMoneyIncentivesEstimateCommand.Action == 1 { // 只预算,不入库
|
|
|
return dividendsEstimatesSaved, nil
|
|
|
} else if confirmMoneyIncentivesEstimateCommand.Action == 2 { // 确定预算
|
...
|
...
|
|