...
|
...
|
@@ -34,10 +34,33 @@ func (srv PersonStatisticsService) IndexStatistics(userMenusCommand *command.Ind |
|
|
|
|
|
// CompanyStatistics 共创用户-共创企业统计
|
|
|
func (srv PersonStatisticsService) CompanyStatistics(userMenusCommand *command.CooperationPersonStatisticsCommand) (interface{}, error) {
|
|
|
return map[string]interface{}{}, nil
|
|
|
var values []interface{}
|
|
|
values = append(values, map[string]interface{}{
|
|
|
"company": map[string]interface{}{
|
|
|
"companyId": 5,
|
|
|
"companyName": "机会平台",
|
|
|
},
|
|
|
"cooperationProjectCount": 10,
|
|
|
"cooperationContractCount": 5,
|
|
|
"dividendsRatio": 50,
|
|
|
"dividendsIncome": 10009965,
|
|
|
})
|
|
|
values = append(values, map[string]interface{}{
|
|
|
"company": map[string]interface{}{
|
|
|
"companyId": 6,
|
|
|
"companyName": "机会平台2",
|
|
|
},
|
|
|
"cooperationProjectCount": 10,
|
|
|
"cooperationContractCount": 5,
|
|
|
"dividendsRatio": 50,
|
|
|
"dividendsIncome": 10009965,
|
|
|
})
|
|
|
return map[string]interface{}{
|
|
|
"list": values,
|
|
|
}, nil
|
|
|
}
|
|
|
|
|
|
// CompanyDividendStatistics 共创用户-共创企业分红统计
|
|
|
// CompanyDividendStatistics (废弃)共创用户-共创企业分红统计
|
|
|
func (srv PersonStatisticsService) CompanyDividendStatistics(userMenusCommand *command.CooperationPersonStatisticsCommand) (interface{}, error) {
|
|
|
return map[string]interface{}{}, nil
|
|
|
}
|
...
|
...
|
|