小区同步映射别名改为别名
This commit is contained in:
+3
-3
@@ -250,7 +250,7 @@ class SeaweedDataSynch extends BaseBatch{
|
||||
}
|
||||
|
||||
def updating(city, cat){
|
||||
def dists = CommonDatautils.findAllDistrictsFromMg(city, cat, ["city","region","name","address","block","mapping_alias","addr_alias","cat","estate_type2","status","township","lng","lat","build_type","household_count","committee","estate_charge","car_site_count","property_life","house_property","build_area","all_area","build_structure","developer","estate_company","cubage_percent","virescence_percent","loudong_count","schools","main_type","main_type_area","create_year"])
|
||||
def dists = CommonDatautils.findAllDistrictsFromMg(city, cat, ["city","region","name","address","block","alias","addr_alias","cat","estate_type2","status","township","lng","lat","build_type","household_count","committee","estate_charge","car_site_count","property_life","house_property","build_area","all_area","build_structure","developer","estate_company","cubage_percent","virescence_percent","loudong_count","schools","main_type","main_type_area","create_year"])
|
||||
def rets = new CopyOnWriteArrayList()
|
||||
def totalCount = new AtomicLong()
|
||||
final CountDownLatch latch = new CountDownLatch(dists.size())
|
||||
@@ -351,9 +351,9 @@ class SeaweedDataSynch extends BaseBatch{
|
||||
map.name = dist.name
|
||||
map.address = dist.address
|
||||
map.block = dist.block
|
||||
if(dist.mapping_alias){
|
||||
if(dist.alias){
|
||||
def aliasNames = []
|
||||
for(def key : dist.mapping_alias){
|
||||
for(def key : dist.alias){
|
||||
if(key && !key.toString().equals("null")){
|
||||
aliasNames << key
|
||||
// if(aliasNames.size()>5){
|
||||
|
||||
Reference in New Issue
Block a user