This commit is contained in:
2025-04-08 16:36:30 +08:00
parent bfc789349b
commit 5d76a0222a
2 changed files with 9 additions and 8 deletions
@@ -142,6 +142,7 @@ class AddrAlaisProcess {
})
println fileName +" 完成 "
}
i++
}
}
@@ -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 + " 完成"
}