...
|
...
|
@@ -28,13 +28,16 @@ func (dividendsEstimateService *DividendsEstimateService) CancelDividendsEstimat |
|
|
func (dividendsEstimateService *DividendsEstimateService) EstimateDividendsIncentives(estimateDividendsIncentivesCommand *command.EstimateDividendsIncentivesCommand) (interface{}, error) {
|
|
|
creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(
|
|
|
estimateDividendsIncentivesCommand.Operator)
|
|
|
_, err := creationCooperationGateway.DividendsEstimateDividendsIncentives(allied_creation_cooperation.ReqDividendsEstimateDividendsIncentives{
|
|
|
result, err := creationCooperationGateway.DividendsEstimateDividendsIncentives(allied_creation_cooperation.ReqDividendsEstimateDividendsIncentives{
|
|
|
OrderGoodIds: estimateDividendsIncentivesCommand.OrderGoodIds,
|
|
|
})
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
|
|
}
|
|
|
return estimateDividendsIncentivesCommand, nil
|
|
|
respData := map[string]string{
|
|
|
"result": result.Report,
|
|
|
}
|
|
|
return respData, nil
|
|
|
}
|
|
|
|
|
|
// 确定预算金额激励分红
|
...
|
...
|
|