+4
-4
@@ -380,12 +380,12 @@ class TownStandardBatch extends BaseBatch{
|
|||||||
o.put("district", arrs[4])
|
o.put("district", arrs[4])
|
||||||
o.put("lng", arrs[5])
|
o.put("lng", arrs[5])
|
||||||
o.put("lat", arrs[6])
|
o.put("lat", arrs[6])
|
||||||
if(arrs[7]){
|
println arrs.size()
|
||||||
o.put("data_source", arrs[7])
|
if(arrs.size()<=7){
|
||||||
|
o.put("data_source","")
|
||||||
}else{
|
}else{
|
||||||
o.put("data_source", "")
|
o.put("data_source", arrs[7])
|
||||||
}
|
}
|
||||||
|
|
||||||
rets << o
|
rets << o
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
println arrs
|
println arrs
|
||||||
|
|||||||
Reference in New Issue
Block a user