|
@@ -224,28 +224,30 @@ func NewKeyMap() *KeyMap {
|
|
|
|
|
|
//招标信息实体类
|
|
|
type Info struct {
|
|
|
- Id string `json:"_id"`
|
|
|
- Href string `json:"href"` //源地址
|
|
|
- Publishtime int64 `json:"publishtime"`
|
|
|
- Comeintime int64 `json:"comeintime"`
|
|
|
- Title string `json:"title"`
|
|
|
- TopType string `json:"toptype"`
|
|
|
- SubType string `json:"subtype"`
|
|
|
- ProjectName string `json:"projectname"`
|
|
|
- ProjectCode string `json:"projectcode"`
|
|
|
- ProjectScope string `json:"projectscope"`
|
|
|
- ContractCode string `json:"contractcode"`
|
|
|
- Buyer string `json:"buyer"`
|
|
|
- Buyerperson string `json:"buyerperson"`
|
|
|
- Buyertel string `json:"buyertel"`
|
|
|
- Agency string `json:"agency"`
|
|
|
- Area string `json:"area"`
|
|
|
- City string `json:"city"`
|
|
|
- District string `json:"district"`
|
|
|
- Infoformat int `json:"infoformat"`
|
|
|
- ReviewExperts []string `json:"review_experts"`
|
|
|
- HasPackage bool // `json:"haspackage"`
|
|
|
- Package map[string]interface{} `json:"package"`
|
|
|
+ Id string `json:"_id"`
|
|
|
+ Href string `json:"href"` //源地址
|
|
|
+ Publishtime int64 `json:"publishtime"`
|
|
|
+ Comeintime int64 `json:"comeintime"`
|
|
|
+ Title string `json:"title"`
|
|
|
+ TopType string `json:"toptype"`
|
|
|
+ SubType string `json:"subtype"`
|
|
|
+ ProjectName string `json:"projectname"`
|
|
|
+ ProjectCode string `json:"projectcode"`
|
|
|
+ ProjectScope string `json:"projectscope"`
|
|
|
+ ContractCode string `json:"contractcode"`
|
|
|
+ Buyer string `json:"buyer"`
|
|
|
+ Buyerperson string `json:"buyerperson"`
|
|
|
+ Buyertel string `json:"buyertel"`
|
|
|
+ Agency string `json:"agency"`
|
|
|
+ Area string `json:"area"`
|
|
|
+ City string `json:"city"`
|
|
|
+ District string `json:"district"`
|
|
|
+ Infoformat int `json:"infoformat"`
|
|
|
+ ReviewExperts []string `json:"review_experts"`
|
|
|
+ Purchasing string `json:"purchasing"`
|
|
|
+ WinnerOrder []map[string]interface{} `json:"winnerorder"`
|
|
|
+ HasPackage bool // `json:"haspackage"`
|
|
|
+ Package map[string]interface{} `json:"package"`
|
|
|
//PNum string `json:"pnum"`
|
|
|
Topscopeclass []string `json:"topscopeclass"`
|
|
|
Subscopeclass []string `json:"subscopeclass"`
|
|
@@ -255,14 +257,11 @@ type Info struct {
|
|
|
Bidamount float64 `json:"bidamount"`
|
|
|
Winners []string
|
|
|
dealtype int
|
|
|
-
|
|
|
- Winnerorder []string
|
|
|
-
|
|
|
- PTC string //从标题中抽的项目编号
|
|
|
- pnbval int //项目名称、编号、采购单位存在的个数
|
|
|
- LenPC int //项目编号长度
|
|
|
- LenPN int //项目名称长度
|
|
|
- LenPTC int //标题抽的项目编号长度
|
|
|
+ PTC string //从标题中抽的项目编号
|
|
|
+ pnbval int //项目名称、编号、采购单位存在的个数
|
|
|
+ LenPC int //项目编号长度
|
|
|
+ LenPN int //项目名称长度
|
|
|
+ LenPTC int //标题抽的项目编号长度
|
|
|
//以下三个元素做对比,计算包含时候使用
|
|
|
PNBH int //0初始,+包含,-被包含
|
|
|
PCBH int
|
|
@@ -292,17 +291,18 @@ type ProjectInfo struct {
|
|
|
District string `json:"district"` //区县
|
|
|
Bidstatus string `json:"bidstatus"` //
|
|
|
Bidtype string `json:"bidtype"` //
|
|
|
- ReviewExperts []string `json:"review_experts"` // 项目评审专家
|
|
|
+ ReviewExperts []string `json:"review_experts"` // 项目评审专家
|
|
|
+ Purchasing string `json:"purchasing"` // 标的物
|
|
|
//HasPackage bool `json:"haspackage"` //是否有分包
|
|
|
Package map[string]interface{} `json:"package,omitempty"` //分包的对比对象
|
|
|
Buyerclass string `json:"buyerclass"` //采购单位分类
|
|
|
Bidopentime int64 `json:"bidopentime,omitempty"` //开标时间
|
|
|
// Zbtime int64 `json:"zbtime"` //招标时间
|
|
|
- Jgtime int64 `json:"jgtime"` //结果中标时间
|
|
|
- Zbtime int64 `json:"zbtime"` //招标时间
|
|
|
- Bidamount float64 `json:"bidamount,omitempty"` //中标金额
|
|
|
- Budget float64 `json:"budget,omitempty"` //预算
|
|
|
- //Winnerorder []string `json:"winnerorder"` //中标候选人
|
|
|
+ Jgtime int64 `json:"jgtime"` //结果中标时间
|
|
|
+ Zbtime int64 `json:"zbtime"` //招标时间
|
|
|
+ Bidamount float64 `json:"bidamount,omitempty"` //中标金额
|
|
|
+ Budget float64 `json:"budget,omitempty"` //预算
|
|
|
+ Winnerorder []string `json:"winnerorder"` //中标候选人
|
|
|
score int
|
|
|
comStr string
|
|
|
resVal, pjVal int
|