update
This commit is contained in:
+9
-6
@@ -88,13 +88,16 @@ class BigdataDealBatch extends BaseBatch{
|
|||||||
|
|
||||||
|
|
||||||
def trades = getCityData(city, statMap, ppeDists)
|
def trades = getCityData(city, statMap, ppeDists)
|
||||||
def rets = createData(trades, cityCodeDataMap, distCodeMap, "other")
|
if(trades){
|
||||||
rows.addAll(rets)
|
def rets = createData(trades, cityCodeDataMap, distCodeMap, "other")
|
||||||
println "【${index}】"+city +" 成交共:"+rets.size()
|
rows.addAll(rets)
|
||||||
|
println "【${index}】"+city +" 成交共:"+rets.size()
|
||||||
|
|
||||||
|
def cityDatas = []
|
||||||
|
cityDatas << headers
|
||||||
|
cityDatas.addAll(rows)
|
||||||
|
}
|
||||||
|
|
||||||
def cityDatas = []
|
|
||||||
cityDatas << headers
|
|
||||||
cityDatas.addAll(rows)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def fileName = "/home/goojia/ccb/BIGDATA_DEAL_GJ.dat"
|
def fileName = "/home/goojia/ccb/BIGDATA_DEAL_GJ.dat"
|
||||||
|
|||||||
Reference in New Issue
Block a user