...
|
...
|
@@ -18,6 +18,8 @@ func (controller *DividendsEstimateController) CancelDividendsEstimate() { |
|
|
err := controller.Unmarshal(cancelDividendsEstimateCommand)
|
|
|
if err != nil {
|
|
|
log.Logger.Debug("json err:" + err.Error())
|
|
|
controller.Response(nil, err)
|
|
|
return
|
|
|
}
|
|
|
cancelDividendsEstimateCommand.Operator = controller.GetOperator()
|
|
|
data, err := dividendsEstimateService.CancelDividendsEstimate(cancelDividendsEstimateCommand)
|
...
|
...
|
@@ -31,6 +33,8 @@ func (controller *DividendsEstimateController) SearchDividendsEstimate() { |
|
|
err := controller.Unmarshal(searchDividendsEstimateQuery)
|
|
|
if err != nil {
|
|
|
log.Logger.Debug("json err:" + err.Error())
|
|
|
controller.Response(nil, err)
|
|
|
return
|
|
|
}
|
|
|
searchDividendsEstimateQuery.Operator = controller.GetOperator()
|
|
|
cnt, data, err := dividendsEstimateService.SearchDividendsEstimate(searchDividendsEstimateQuery)
|
...
|
...
|
@@ -44,6 +48,8 @@ func (controller *DividendsEstimateController) SearchDividendsIncentives() { |
|
|
err := controller.Unmarshal(searchDividendsIncentivesQuery)
|
|
|
if err != nil {
|
|
|
log.Logger.Debug("json err:" + err.Error())
|
|
|
controller.Response(nil, err)
|
|
|
return
|
|
|
}
|
|
|
searchDividendsIncentivesQuery.Operator = controller.GetOperator()
|
|
|
cnt, data, err := dividendsEstimateService.SearchDividendsIncentives(searchDividendsIncentivesQuery)
|
...
|
...
|
@@ -57,6 +63,8 @@ func (controller *DividendsEstimateController) SearchMoneyIncentives() { |
|
|
err := controller.Unmarshal(searchMoneyIncentivesQuery)
|
|
|
if err != nil {
|
|
|
log.Logger.Debug("json err:" + err.Error())
|
|
|
controller.Response(nil, err)
|
|
|
return
|
|
|
}
|
|
|
searchMoneyIncentivesQuery.Operator = controller.GetOperator()
|
|
|
cnt, data, err := dividendsEstimateService.SearchMoneyIncentives(searchMoneyIncentivesQuery)
|
...
|
...
|
@@ -70,6 +78,8 @@ func (controller *DividendsEstimateController) EstimateMoneyIncentives() { |
|
|
err := controller.Unmarshal(estimateMoneyIncentivesCommand)
|
|
|
if err != nil {
|
|
|
log.Logger.Debug("json err:" + err.Error())
|
|
|
controller.Response(nil, err)
|
|
|
return
|
|
|
}
|
|
|
estimateMoneyIncentivesCommand.Operator = controller.GetOperator()
|
|
|
data, err := dividendsEstimateService.EstimateMoneyIncentives(estimateMoneyIncentivesCommand)
|
...
|
...
|
@@ -83,6 +93,8 @@ func (controller *DividendsEstimateController) EstimateDividendsIncentives() { |
|
|
err := controller.Unmarshal(estimateDividendsIncentivesCommand)
|
|
|
if err != nil {
|
|
|
log.Logger.Debug("json err:" + err.Error())
|
|
|
controller.Response(nil, err)
|
|
|
return
|
|
|
}
|
|
|
estimateDividendsIncentivesCommand.Operator = controller.GetOperator()
|
|
|
data, err := dividendsEstimateService.EstimateDividendsIncentives(estimateDividendsIncentivesCommand)
|
...
|
...
|
@@ -96,6 +108,8 @@ func (controller *DividendsEstimateController) MoneyIncentivesSelector() { |
|
|
err := controller.Unmarshal(moneyIncentivesSelectorQuery)
|
|
|
if err != nil {
|
|
|
log.Logger.Debug("json err:" + err.Error())
|
|
|
controller.Response(nil, err)
|
|
|
return
|
|
|
}
|
|
|
moneyIncentivesSelectorQuery.Operator = controller.GetOperator()
|
|
|
data, err := dividendsEstimateService.MoneyIncentivesSelector(moneyIncentivesSelectorQuery)
|
...
|
...
|
@@ -109,6 +123,8 @@ func (controller *DividendsEstimateController) ConfimDividendsEstimate() { |
|
|
err := controller.Unmarshal(confimDividendsEstimateCommand)
|
|
|
if err != nil {
|
|
|
log.Logger.Debug("json err:" + err.Error())
|
|
|
controller.Response(nil, err)
|
|
|
return
|
|
|
}
|
|
|
confimDividendsEstimateCommand.Operator = controller.GetOperator()
|
|
|
data, err := dividendsEstimateService.ConfimDividendsEstimate(confimDividendsEstimateCommand)
|
...
|
...
|
|