+2
@@ -175,6 +175,7 @@ class GaoDePoiDataProcess extends BaseBatch{
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
def pois = findAllVillagePoiMap(city)
|
def pois = findAllVillagePoiMap(city)
|
||||||
|
println "百度loading finish: "+pois.size()+" "+new Date().format("yyyy-MM-dd HH:mm:ss")
|
||||||
def rows = createVillageData(city, pois)
|
def rows = createVillageData(city, pois)
|
||||||
|
|
||||||
save(city, rows)
|
save(city, rows)
|
||||||
@@ -192,6 +193,7 @@ class GaoDePoiDataProcess extends BaseBatch{
|
|||||||
// def townMap = findTownRange(city)
|
// def townMap = findTownRange(city)
|
||||||
def townMap = CommonDatautils.queryTownByCity(city)
|
def townMap = CommonDatautils.queryTownByCity(city)
|
||||||
def poiKeysFilter = findEsPoiByCity(city)
|
def poiKeysFilter = findEsPoiByCity(city)
|
||||||
|
println "Es 加载完成:"+new Date().format("yyyy-MM-dd HH:mm:ss")
|
||||||
for(def i=0;i<pois.size();i++){
|
for(def i=0;i<pois.size();i++){
|
||||||
def p = pois[i]
|
def p = pois[i]
|
||||||
fixedThreadPool.execute(new Runnable() {
|
fixedThreadPool.execute(new Runnable() {
|
||||||
|
|||||||
Reference in New Issue
Block a user