|
@@ -224,11 +224,11 @@ func (dividendsEmmateService *DividendsEstimateService) MoneyIncentivesSelector( |
|
@@ -224,11 +224,11 @@ func (dividendsEmmateService *DividendsEstimateService) MoneyIncentivesSelector( |
|
224
|
//ConfimDividendsEstimate 确定分红预算
|
224
|
//ConfimDividendsEstimate 确定分红预算
|
|
225
|
func (dividendsEstimateService *DividendsEstimateService) ConfimDividendsEstimate(confimDividendsEstimateCommand *command.ConfimDividendsEstimateCommand) (interface{}, error) {
|
225
|
func (dividendsEstimateService *DividendsEstimateService) ConfimDividendsEstimate(confimDividendsEstimateCommand *command.ConfimDividendsEstimateCommand) (interface{}, error) {
|
|
226
|
creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(confimDividendsEstimateCommand.Operator)
|
226
|
creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(confimDividendsEstimateCommand.Operator)
|
|
227
|
- _, err := creationCooperationGateway.CreditAccountsAdd(allied_creation_cooperation.ReqCreditAccountsAdd{
|
227
|
+ result, err := creationCooperationGateway.CreditAccountsAdd(allied_creation_cooperation.ReqCreditAccountsAdd{
|
|
228
|
DividendsEstimateIds: confimDividendsEstimateCommand.DividendsEstimateId,
|
228
|
DividendsEstimateIds: confimDividendsEstimateCommand.DividendsEstimateId,
|
|
229
|
})
|
229
|
})
|
|
230
|
if err != nil {
|
230
|
if err != nil {
|
|
231
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
231
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
|
232
|
}
|
232
|
}
|
|
233
|
- return confimDividendsEstimateCommand, nil
|
233
|
+ return result, nil
|
|
234
|
} |
234
|
} |