Browse Source

no message

Jianghan 5 years ago
parent
commit
920c711fca
1 changed files with 4 additions and 1 deletions
  1. 4 1
      fullproject/src_v1/task.go

+ 4 - 1
fullproject/src_v1/task.go

@@ -422,7 +422,10 @@ func (p *ProjectTask) enter(db, coll string, q map[string]interface{}) {
 		}
 
 	}()
-	ms := sess.DB(db).C(coll).Find(q).Sort("publishtime")
+	fields := map[string]interface{} {"area": 1, "city": 1, "district": 1, "comeintime": 1, "publishtime": 1, "bidopentime": 1, "title": 1, "projectname": 1, "href": 1,
+		"projectcode": 1, "buyerclass": 1, "winner": 1, "s_winner": 1, "buyer": 1, "buyerperson": 1, "buyertel": 1, "infoformat": 1, "toptype": 1, "subtype": 1, "spidercode": 1,
+		"site": 1, "topscopeclass": 1, "subscopeclass": 1, "bidamount": 1, "budget": 1, "agency": 1, "package": 1}
+	ms := sess.DB(db).C(coll).Find(q).Select(fields).Sort("publishtime")
 	if Sysconfig["hints"] != nil {
 		ms.Hint(Sysconfig["hints"])
 	}