瀏覽代碼

首页去掉采购意向数据

renjiaojiao 1 年之前
父節點
當前提交
28609a748c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/jfw/front/index.go

+ 1 - 1
src/jfw/front/index.go

@@ -310,7 +310,7 @@ func FillingBiddingBaseFields(ctx context.Context, res []map[string]interface{},
 			bidIdStrings = append(bidIdStrings, bidId)
 		}
 	}
-	bidRes, _ := g.DB().Query(ctx, fmt.Sprintf(`SELECT * FROM new_bidList WHERE bid_id IN ('%s')`, strings.Join(bidIdStrings, "','")))
+	bidRes, _ := g.DB().Query(ctx, fmt.Sprintf(`SELECT * FROM new_bidList WHERE toptype !='拟建' AND toptype !='采购意向' AND bid_id IN ('%s')`, strings.Join(bidIdStrings, "','")))
 	if bidRes.IsEmpty() {
 		return nil
 	}