作者 陈志颖

fix:金额激励分红预算

@@ -1074,7 +1074,7 @@ func (dividendsEstimateService *DividendsEstimateService) ConfirmMoneyIncentives @@ -1074,7 +1074,7 @@ func (dividendsEstimateService *DividendsEstimateService) ConfirmMoneyIncentives
1074 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) 1074 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
1075 } 1075 }
1076 if confirmMoneyIncentivesEstimateCommand.Action == 1 { // 只预算,不入库 1076 if confirmMoneyIncentivesEstimateCommand.Action == 1 { // 只预算,不入库
1077 - return dividendsEstimatesSaved, nil 1077 + return dividendsEstimates, nil
1078 } else if confirmMoneyIncentivesEstimateCommand.Action == 2 { // 确定预算 1078 } else if confirmMoneyIncentivesEstimateCommand.Action == 2 { // 确定预算
1079 if err := transactionContext.CommitTransaction(); err != nil { 1079 if err := transactionContext.CommitTransaction(); err != nil {
1080 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) 1080 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())