update
This commit is contained in:
+9
-2
@@ -38,8 +38,13 @@ class RegionStandardBatch extends BaseBatch{
|
||||
}
|
||||
def poiRegionStandard(){
|
||||
def runCitys = ["重庆","三明","龙岩","南平","漳州","福州","厦门","泉州","莆田","宁德"]
|
||||
def index = 0
|
||||
def citys = CommonDatautils.findAllCity()
|
||||
for(def city : citys){
|
||||
index ++
|
||||
if(index<32){
|
||||
continue
|
||||
}
|
||||
if(runCitys.contains(city)){
|
||||
continue
|
||||
}
|
||||
@@ -53,13 +58,15 @@ class RegionStandardBatch extends BaseBatch{
|
||||
def rMap = regionFullNameMap.get(fullCityName)
|
||||
if(rMap){
|
||||
def set = rMap.keySet()
|
||||
def rets = findEsPoiByCity(fullCityName)
|
||||
println city +" "+rets.size()
|
||||
if(set.size()>1){
|
||||
def rets = findEsPoiByCity(fullCityName)
|
||||
println city +" "+rets.size()
|
||||
poiHaveRegionProcess(city, set, rMap, rets)
|
||||
}else{
|
||||
// haveStreetProcess(city, set, cat)
|
||||
}
|
||||
}else{
|
||||
println "没找区域:"+city
|
||||
}
|
||||
}else{
|
||||
println "没找到相应的全称:"+city
|
||||
|
||||
Reference in New Issue
Block a user