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