123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281 |
- package entity
- type Distribution struct {
- Minth string `json:"minth"` //月份
- Ratio float64 `json:"ratio"` //总金额环比数据
- Value float64 `json:"value"` //总金额值
- }
- // 市场概况+时间分布
- type MarketScaleMain struct {
- ProjectInfoAll struct {
- Buyercount int `json:"buyercount"` //采购单位数
- Projctamout float64 `json:"projctamout"` //项目总金额(亿)
- ProjectCount int `json:"project_count"` //项目数量
- Projectavgmoney float64 `json:"projectavgmoney"` //项目平均金额(万)
- Winnercount int `json:"winnercount"` //中标单位数量
- } `json:"project_info_all"`
- //市场概况
- MarketProfile struct {
- Buyercount int `json:"buyercount"` //采购单位数
- BuyercountRatio float64 `json:"buyercount_ratio"` //采购单位环比
- ProjctamountRatio float64 `json:"projctamount_ratio"` //项目总金额环比
- Projctamout float64 `json:"projctamout"` //项目总金额(亿)
- ProjectCount int `json:"project_count"` //项目数量
- ProjectCountRatio float64 `json:"project_count_ratio"` //项目总数环比
- Projectavgmoney float64 `json:"projectavgmoney"` //项目平均金额(万)
- ProjectavgmoneyRatio float64 `json:"projectavgmoney_ratio"` //项目平均金额环比
- Winnercount int `json:"winnercount"` //中标单位数量
- WinnercountRatio float64 `json:"winnercount_ratio"` //中标单位数量环比
- } `json:"market_profile"`
- //月度分配
- MonthDistribution struct {
- //项目金额
- ProjectAmount []Distribution `json:"project_amount"`
- //项目数量
- ProjectCount []Distribution `json:"project_count"`
- } `json:"month_distribution"`
- //年度分配
- YearDistribution struct {
- //项目总金额
- ProjectAmount []Distribution `json:"project_amount"`
- //项目数量
- ProjectCount []Distribution `json:"project_count"`
- } `json:"year_distribution"`
- }
- // 项目规模TOP10
- type ProjectTop struct {
- Id string `json:"_id"` //ids中第一个招标信息id
- Area string `json:"area"` //省份
- City string `json:"city"` //城市
- Eidlist []string `json:"eidlist"` //中标企业id集合
- Jgtime int `json:"jgtime"` //结果时间
- Projectname string `json:"projectname"` //项目名称
- Sortprice float64 `json:"sortprice"` //中标金额 > 预算
- WinnerS []string `json:"winner_s"` //中标企业名称集合
- }
- type MarketTopProject struct {
- ProjectTop10 []ProjectTop `json:"ProjectTop10"`
- }
- /* 项目规模 地区分布 客户分布 地区客户top3*/
- // 城市项目分布详情
- type AreaDetailsS struct {
- Amount float64 `json:"amount"` //城市项目金额
- City string `json:"city"` //城市名称
- Total int `json:"total"` //项目数
- }
- // 地区分布
- type AreaInfosS struct {
- Amount float64 `json:"amount"` //总金额
- Area string `json:"area"` //省份
- AreaDetails []AreaDetailsS `json:"areaDetails"` //城市项目分布详情
- Total int `json:"total"` //省份项目总数
- }
- // 客户分布
- type CustomerScaleS struct {
- Amount float64 `json:"amount"` //总金额
- Buyclass string `json:"buyclass"` //采购单位类型
- Total int `json:"total"` //项目总数
- }
- // 项目规模分布
- type ProjectScaleS struct {
- Name string `json:"Name"` //项目规模名称
- PersentC float64 `json:"Persent_c"` //项目总金额占比
- PersentA float64 `json:"Persent_a"` //项目总数占比
- }
- // 中标单位信息-金额
- type WinnerAmount struct {
- Id string `json:"id"` //中标单位id
- Winner string `json:"winner"` //中标单位名称
- WinnerAmount float64 `json:"winner_amount"` //中标单位中标金额
- }
- // 项目金额TOP3地区的重点中标单位
- type ScaleAreaAmountTopS struct {
- AreaAmount float64 `json:"area_amount"` //地区总金额
- AreaScale float64 `json:"area_scale"` //地区环比
- Name string `json:"name"` //省份
- Winner []WinnerAmount `json:"winner"` //中标单位信息
- }
- // 中标单位信息-项目数量
- type WinnerTotal struct {
- Id string `json:"id"` //中标企业id
- Winner string `json:"winner"` //中标企业名称
- WinnerTotal int `json:"winner_total"` //中标项目数量
- }
- // 项目数量TOP3地区的重点中标单位
- type ScaleAreaCountTopS struct {
- AreaCount int `json:"area_count"` //项目数量
- AreaScale float64 `json:"area_scale"` //项目数量占比
- Name string `json:"name"` //城市
- Winner []WinnerTotal `json:"winner"` //中标企业集合
- }
- // 项目金额TOP3客户类型的重点中标单位
- type ScaleBuyclassAmountTopS struct {
- BuyclassAmount float64 `json:"buyclass_amount"` //采购单位类型总金额
- BuyclassScale float64 `json:"buyclass_scale"` //采购单位类型金额占比
- Name string `json:"name"` //采购单位类型名称
- Winner []WinnerAmount `json:"winner"` //中标企业集合
- }
- // 项目数量TOP3客户类型的重点中标单位
- type ScaleBuyclassCountTopS struct {
- BuyclassCount int `json:"buyclass_count"` //采购单位项目数量
- BuyclassScale float64 `json:"buyclass_scale"` //采购单位数量环比
- Name string `json:"name"` //采购单位名称
- Winner []WinnerTotal `json:"winner"` //中标企业集合
- }
- type MarketProjectAllData struct {
- //地区分布
- AreaInfos []AreaInfosS `json:"area_infos"`
- //客户分布
- CustomerScale []CustomerScaleS `json:"customer_scale"`
- //客户分布(其它)
- CustomerScaleOther CustomerScaleS `json:"customer_scale_other"`
- //项目规模分布
- ProjectScale []ProjectScaleS `json:"projectScale"`
- //项目金额TOP3地区的重点中标单位
- ScaleAreaAmountTop []ScaleAreaAmountTopS `json:"scaleAreaAmountTop"`
- //项目数量TOP3地区的重点中标单位
- ScaleAreaCountTop []ScaleAreaCountTopS `json:"scaleAreaCountTop"`
- //项目金额TOP3客户类型的重点中标单位
- ScaleBuyclassAmountTop []ScaleBuyclassAmountTopS `json:"scaleBuyclassAmountTop"`
- //项目数量TOP3客户类型的重点中标单位
- ScaleBuyclassCountTop []ScaleBuyclassCountTopS `json:"scaleBuyclassCountTop"`
- }
- /*细化市场*/
- // 订阅分类
- type ScaleRefineAllS struct {
- Amount float64 `json:"amount"` //订阅分类总金额
- Name string `json:"name"` //分类名称
- Total int `json:"total"` //项目总数
- }
- // 中标企业集合 金额排序前三个
- type TopListS struct {
- Id string `json:"id"` //中标企业id
- Name string `json:"name"` //中标企业名称
- Value float64 `json:"value"` //金额
- Prop float64 `json:"prop"` //占比
- }
- // 细分市场的重点中标单位-项目金额
- type ScaleRefineAmountTopS struct {
- Name string `json:"name"` //分类名称
- Value float64 `json:"value"` //金额总数
- Prop int `json:"prop"` //分类金额百分比
- TopList []TopListS `json:"topList"` //中标企业集合 金额排序前三个
- }
- // 细分市场的重点中标单位-项目数量
- type ScaleRefineTotalTopS struct {
- Name string `json:"name"` //分类名称
- Value int `json:"value"` //项目数量
- Prop int `json:"prop"` //项目数量占比
- TopList []TopListS `json:"topList"` //中标企业集合 项目数量排序前三个
- }
- // 细化市场
- type MarketScaleRefine struct {
- //订阅分类
- ScaleRefineAll []ScaleRefineAllS `json:"scaleRefineAll"`
- //细分市场的重点中标单位-项目金额
- ScaleRefineAmountTop []ScaleRefineAmountTopS `json:"scaleRefineAmountTop"`
- //细分市场的重点中标单位-项目数量
- ScaleRefineTotalTop []ScaleRefineTotalTopS `json:"scaleRefineTotalTop"`
- }
- /* 市场-采购单位&&中标企业*/
- //合作 中标企业 金额 前三
- type Winnertop3Amount struct {
- Id string `json:"id"` //中标企业id
- Name string `json:"name"` //中标企业名称
- Amount float64 `json:"amount"` //中标金额
- }
- // 采购金额TOP30采购单位及其重点合作中标单位
- type BuyerAmountTop3S struct {
- Name string `json:"name"` //采购单位名称
- Amount float64 `json:"amount"` //采购单位金额
- Winnertop3 []Winnertop3Amount `json:"winnertop3"` //合作 中标企业 金额 前三
- }
- type Winnertop3Number struct {
- Id string `json:"id"` //中标企业id
- Name string `json:"name"` //中标企业名称
- Number int `json:"number"` //合作项目数量
- }
- // 项目数量TOP30采购单位及其重点合作中标单位
- type BuyerCountTop3S []struct {
- Name string `json:"name"` //采购单位名称
- Number int `json:"number"` //采购单位项目数量
- Winnertop3 []Winnertop3Number `json:"winnertop3"` //合作中标企业结婚 项目数量 倒叙 前三
- }
- // 采购规模分布
- type BuyerTimeDistributionS struct {
- Key string `json:"key"` //采购规模名称 (金额分隔
- TotalAmount float64 `json:"total_amount"` //总金额
- TotalNumber float64 `json:"total_number"` //总项目数量
- }
- // 合作采购单位 中标金额排序 前三
- type Buyertop3Amount struct {
- Name string `json:"name"` //合作采购单位名称
- Amount float64 `json:"amount"` //金额
- }
- // 中标金额TOP30中标单位及其重点合作采购单位
- type WinnerAmountTop3S struct {
- Id string `json:"id"` //中标企业id
- Name string `json:"name"` //中标企业名称
- Amount float64 `json:"amount"` //中标金额
- Buyertop3 []Buyertop3Amount `json:"buyertop3"` //合作采购单位 中标金额排序 前三
- }
- // 合作采购单位 项目数量 前三
- type Buyertop3Number struct {
- Name string `json:"name"` //采购单位名称
- Number int `json:"number"` //项目数量
- }
- // 项目数量TOP30中标单位及其重点合作采购单位
- type WinnerCountTop3S struct {
- Id string `json:"id"` //中标企业id
- Name string `json:"name"` //中标企业名称
- Number int `json:"number"` //项目数量
- Buyertop3 []Buyertop3Number `json:"buyertop3"` //合作采购单位 前三
- }
- // 中标规模分布
- type WinnerTimeDistributionS struct {
- Key string `json:"key"` //中标规模分布 key (金额分隔
- TotalAmount float64 `json:"total_amount"` //总金额
- TotalNumber float64 `json:"total_number"` //项目总数量
- }
- type MarketBuyerAndWinner struct {
- //采购金额TOP30采购单位及其重点合作中标单位
- BuyerAmountTop3 []BuyerAmountTop3S `json:"buyer_amount_top3"`
- //项目数量TOP30采购单位及其重点合作中标单位
- BuyerCountTop3 []BuyerCountTop3S `json:"buyer_count_top3"`
- //采购规模分布
- BuyerTimeDistribution []BuyerTimeDistributionS `json:"buyer_time_distribution"`
- //中标金额TOP30中标单位及其重点合作采购单位
- WinnerAmountTop3 []WinnerAmountTop3S `json:"winner_amount_top3"`
- //项目数量TOP30中标单位及其重点合作采购单位
- WinnerCountTop3 []WinnerCountTop3S `json:"winner_count_top3"`
- //中标规模分布
- WinnerTimeDistribution []WinnerTimeDistributionS `json:"winner_time_distribution"`
- }
|