...
|
...
|
@@ -111,7 +111,7 @@ func (dividendsEstimateService *DividendsEstimateService) CreateDividendsEstimat |
|
|
DividendsParticipateType: 0,
|
|
|
DividendsType: 0,
|
|
|
OrderOrReturnedOrderNum: "",
|
|
|
CooperationProjectNumber: "",
|
|
|
CooperationContractNumber: "",
|
|
|
DividendsUser: nil,
|
|
|
Org: organization,
|
|
|
Company: company,
|
...
|
...
|
@@ -141,7 +141,7 @@ func (dividendsEstimateService *DividendsEstimateService) CreateDividendsEstimat |
|
|
}
|
|
|
|
|
|
// EstimateDividendsIncentives 确定预算分红激励
|
|
|
func (dividendsEstimateService *DividendsEstimateService) EstimateDividendsIncentives(estimateDividendsIncentivesCommand *command.EstimateDividendsIncentivesCommand) (interface{}, error) {
|
|
|
func (dividendsEstimateService *DividendsEstimateService) EstimateDividendsIncentives(estimateDividendsIncentivesCommand *command.ConfirmDividendsIncentivesEstimateCommand) (interface{}, error) {
|
|
|
if err := estimateDividendsIncentivesCommand.ValidateCommand(); err != nil {
|
|
|
return nil, application.ThrowError(application.ARG_ERROR, err.Error())
|
|
|
}
|
...
|
...
|
@@ -162,7 +162,7 @@ func (dividendsEstimateService *DividendsEstimateService) EstimateDividendsIncen |
|
|
}
|
|
|
|
|
|
// EstimateMoneyIncentives 确定预算金额激励分红
|
|
|
func (dividendsEstimateService *DividendsEstimateService) EstimateMoneyIncentives(estimateMoneyIncentivesCommand *command.EstimateMoneyIncentivesCommand) (interface{}, error) {
|
|
|
func (dividendsEstimateService *DividendsEstimateService) EstimateMoneyIncentives(estimateMoneyIncentivesCommand *command.ConfirmMoneyIncentivesEstimateCommand) (interface{}, error) {
|
|
|
if err := estimateMoneyIncentivesCommand.ValidateCommand(); err != nil {
|
|
|
return nil, application.ThrowError(application.ARG_ERROR, err.Error())
|
|
|
}
|
...
|
...
|
@@ -258,7 +258,7 @@ func (dividendsEstimateService *DividendsEstimateService) ListDividendsEstimate( |
|
|
}
|
|
|
|
|
|
// ListDividendsIncentives 返回业绩激励分红
|
|
|
func (dividendsEstimateService *DividendsEstimateService) ListDividendsIncentives(listDividendsIncentivesQuery *query.ListDividendsIncentivesQuery) (interface{}, error) {
|
|
|
func (dividendsEstimateService *DividendsEstimateService) ListDividendsIncentives(listDividendsIncentivesQuery *query.ListDividendsIncentivesEstimateQuery) (interface{}, error) {
|
|
|
if err := listDividendsIncentivesQuery.ValidateQuery(); err != nil {
|
|
|
return nil, application.ThrowError(application.ARG_ERROR, err.Error())
|
|
|
}
|
...
|
...
|
@@ -279,7 +279,7 @@ func (dividendsEstimateService *DividendsEstimateService) ListDividendsIncentive |
|
|
}
|
|
|
|
|
|
// ListMoneyIncentives 返回金额激励分红
|
|
|
func (dividendsEstimateService *DividendsEstimateService) ListMoneyIncentives(listMoneyIncentivesQuery *query.ListMoneyIncentivesQuery) (interface{}, error) {
|
|
|
func (dividendsEstimateService *DividendsEstimateService) ListMoneyIncentives(listMoneyIncentivesQuery *query.ListMoneyIncentivesEstimateQuery) (interface{}, error) {
|
|
|
if err := listMoneyIncentivesQuery.ValidateQuery(); err != nil {
|
|
|
return nil, application.ThrowError(application.ARG_ERROR, err.Error())
|
|
|
}
|
...
|
...
|
@@ -361,7 +361,7 @@ func (dividendsEstimateService *DividendsEstimateService) SearchDividendsEstimat |
|
|
}
|
|
|
|
|
|
// SearchDividendsIncentives 查询业绩分红
|
|
|
func (dividendsEstimateService *DividendsEstimateService) SearchDividendsIncentives(searchDividendsIncentivesQuery *query.SearchDividendsIncentivesQuery) (interface{}, error) {
|
|
|
func (dividendsEstimateService *DividendsEstimateService) SearchDividendsIncentives(searchDividendsIncentivesQuery *query.SearchDividendsIncentivesEstimateQuery) (interface{}, error) {
|
|
|
if err := searchDividendsIncentivesQuery.ValidateQuery(); err != nil {
|
|
|
return nil, application.ThrowError(application.ARG_ERROR, err.Error())
|
|
|
}
|
...
|
...
|
@@ -382,7 +382,7 @@ func (dividendsEstimateService *DividendsEstimateService) SearchDividendsIncenti |
|
|
}
|
|
|
|
|
|
// SearchMoneyIncentives 查询金额激励分红
|
|
|
func (dividendsEstimateService *DividendsEstimateService) SearchMoneyIncentives(searchMoneyIncentivesQuery *query.SearchMoneyIncentivesQuery) (interface{}, error) {
|
|
|
func (dividendsEstimateService *DividendsEstimateService) SearchMoneyIncentives(searchMoneyIncentivesQuery *query.SearchMoneyIncentivesEstimateQuery) (interface{}, error) {
|
|
|
if err := searchMoneyIncentivesQuery.ValidateQuery(); err != nil {
|
|
|
return nil, application.ThrowError(application.ARG_ERROR, err.Error())
|
|
|
}
|
...
|
...
|
|