Selaa lähdekoodia

项目数据,修复jgtime 类型错误导致的数据缺失

wcc 1 vuosi sitten
vanhempi
commit
4c9d5e1c1d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      createEsIndex/project_es.go

+ 1 - 1
createEsIndex/project_es.go

@@ -145,7 +145,7 @@ func projectTask(data []byte, mapInfo map[string]interface{}) {
 						newTmp[f] = tmp[f]
 					}
 				} else if f == "ids" || f == "mpc" || f == "mpn" || f == "review_experts" || f == "winnerorder" ||
-					f == "entidlist" || f == "first_cooperation" || f == "subscopeclass" {
+					f == "entidlist" || f == "first_cooperation" || f == "subscopeclass" || f == "jgtime" {
 					newTmp[f] = tmp[f]
 				} else if f == "_id" {
 					newTmp["_id"] = mongodb.BsonIdToSId(tmp["_id"])