|
@@ -72,7 +72,7 @@ func GetCollectList(req *types.PrCollectListReq) (resultList []map[string]interf
|
|
|
for _, f := range fields {
|
|
|
fs[f] = 1
|
|
|
}
|
|
|
- binfo, b := T.MgoBidding.Find("bidding", map[string]interface{}{"$in": ids}, `{_id: 1}`, fs, false, -1, -1)
|
|
|
+ binfo, b := T.MgoBidding.Find("bidding", map[string]interface{}{"_id": map[string]interface{}{"$in": ids}}, `{_id: 1}`, fs, false, -1, -1)
|
|
|
if b && len(*binfo) > 0 {
|
|
|
for _, m := range *binfo {
|
|
|
if tp := common.ObjToString(m["toptype"]); tp == "采购意向" || tp == "预告" || tp == "招标" {
|