فهرست منبع

注释村、居委会

fengweiqiang 4 سال پیش
والد
کامیت
a7ef6e3652
1فایلهای تغییر یافته به همراه12 افزوده شده و 12 حذف شده
  1. 12 12
      src/jy/extract/extractInit.go

+ 12 - 12
src/jy/extract/extractInit.go

@@ -1211,18 +1211,18 @@ func (e *ExtractTask) initDistricts(jc_province string, qc_city string, c *City,
 				e.NewStreetDistrictMap[strvtown] = append(e.NewStreetDistrictMap[strvtown], d)
 			}
 			//村、居委会
-			jwhs := jwhs_maps[jc_province][qc_city][qc_district][strvtown]
-			for _, vjwh := range jwhs {
-				strvillage := qu.ObjToString(vjwh["village"])
-				e.Trie_Full_Community.AddWords(strvillage) //加入居委会、村全称Trie
-				cttmp := e.CommunityDistrictMap[strvillage]
-				if len(cttmp) == 0 {
-					tmpdarr := []*District{d}
-					e.CommunityDistrictMap[strvillage] = tmpdarr
-				} else {
-					e.CommunityDistrictMap[strvillage] = append(e.CommunityDistrictMap[strvillage], d)
-				}
-			}
+			// jwhs := jwhs_maps[jc_province][qc_city][qc_district][strvtown]
+			// for _, vjwh := range jwhs {
+			// 	strvillage := qu.ObjToString(vjwh["village"])
+			// 	e.Trie_Full_Community.AddWords(strvillage) //加入居委会、村全称Trie
+			// 	cttmp := e.CommunityDistrictMap[strvillage]
+			// 	if len(cttmp) == 0 {
+			// 		tmpdarr := []*District{d}
+			// 		e.CommunityDistrictMap[strvillage] = tmpdarr
+			// 	} else {
+			// 		e.CommunityDistrictMap[strvillage] = append(e.CommunityDistrictMap[strvillage], d)
+			// 	}
+			// }
 		}
 
 	}