修改
This commit is contained in:
+1
@@ -142,6 +142,7 @@ class AddrAlaisProcess {
|
||||
})
|
||||
println fileName +" 完成 "
|
||||
}
|
||||
i++
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+8
-8
@@ -152,22 +152,22 @@ class SeaweedDataSynch extends BaseBatch{
|
||||
mcaDistMap = CommonDatautils.queryDistNameCityByMapping()
|
||||
|
||||
priceMap = findAllDistrictSellPrice()
|
||||
def citys = ["福州"]//CommonDatautils.findAllCity()
|
||||
def citys = CommonDatautils.findAllCity()
|
||||
def index = 0
|
||||
for(def c : citys){
|
||||
index++
|
||||
|
||||
def dists = updating(c, "district")
|
||||
// updateEs(c, dists, "district", "192.168.0.89")
|
||||
updateEs(c, dists, "district", "192.168.0.89")
|
||||
updateEs(c, dists, "district", "192.168.0.52")
|
||||
|
||||
// def offices = updating(c, "office")
|
||||
// updateEs(c, offices, "office", "192.168.0.89")
|
||||
// updateEs(c, offices, "office", "192.168.0.52")
|
||||
def offices = updating(c, "office")
|
||||
updateEs(c, offices, "office", "192.168.0.89")
|
||||
updateEs(c, offices, "office", "192.168.0.52")
|
||||
|
||||
// def shops = updating(c, "shop")
|
||||
// updateEs(c, shops, "shop", "192.168.0.89")
|
||||
// updateEs(c, offices, "shop", "192.168.0.52")
|
||||
def shops = updating(c, "shop")
|
||||
updateEs(c, shops, "shop", "192.168.0.89")
|
||||
updateEs(c, offices, "shop", "192.168.0.52")
|
||||
|
||||
println index +" "+ c + " 完成"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user