Selaa lähdekoodia

删除无用字段

wangchuanjin 9 vuotta sitten
vanhempi
commit
7a3dd878ba
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      common/src/qfw/util/elastic/elasticutil.go

+ 0 - 4
common/src/qfw/util/elastic/elasticutil.go

@@ -605,10 +605,6 @@ func ConverData(ent *map[string]interface{}) map[string]interface{} {
 
 	tmp2["RecCap"] = tmp["RecCap"]
 	tmp2["RegCap"] = tmp["RegCap"]
-	tmp2["excDirect"] = false
-	if tmp["excDirect"] != nil && len(tmp["excDirect"].([]interface{})) > 0 {
-		tmp2["excDirect"] = true
-	}
 	tmp2["IndustryPhy"] = tmp["IndustryPhy"]
 	tmp2["IndustryPhyName"] = tmp["IndustryPhyName"]
 	tmp2["RegOrg"] = tmp["RegOrg"]