Ver Fonte

修复 预处理数据 fromtable

wcc há 1 ano atrás
pai
commit
8bc34f6a76
1 ficheiros alterados com 1 adições e 0 exclusões
  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)