Browse Source

no message

Jianghan 9 months ago
parent
commit
5e1719f769
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/internal/service/prListService.go

+ 1 - 1
api/internal/service/prListService.go

@@ -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 == "招标" {