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