瀏覽代碼

修复 预处理数据 fromtable

wcc 1 年之前
父節點
當前提交
8bc34f6a76
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      createEsIndex/pre_bidding.go

+ 1 - 0
createEsIndex/pre_bidding.go

@@ -52,6 +52,7 @@ func dealPreProcess() {
 			if len(insert) > 0 {
 				insert["dataweight"] = 0 //索引数据新增 jy置顶字段
 				insert["_id"] = insert["id"]
+				insert["fromtable"] = tmp["fromtable"]
 				//针对中国政府采购网,单独处理
 				if util.ObjToString(tmp["site"]) == "中国政府采购网" {
 					objectType := MatchService(tmp)