update
This commit is contained in:
+3
@@ -88,6 +88,7 @@ class BigdataDealBatch extends BaseBatch{
|
|||||||
|
|
||||||
|
|
||||||
def trades = getCityData(city, statMap, ppeDists)
|
def trades = getCityData(city, statMap, ppeDists)
|
||||||
|
if(trades){
|
||||||
def rets = createData(trades, cityCodeDataMap, distCodeMap, "other")
|
def rets = createData(trades, cityCodeDataMap, distCodeMap, "other")
|
||||||
rows.addAll(rets)
|
rows.addAll(rets)
|
||||||
println "【${index}】"+city +" 成交共:"+rets.size()
|
println "【${index}】"+city +" 成交共:"+rets.size()
|
||||||
@@ -97,6 +98,8 @@ class BigdataDealBatch extends BaseBatch{
|
|||||||
cityDatas.addAll(rows)
|
cityDatas.addAll(rows)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
def fileName = "/home/goojia/ccb/BIGDATA_DEAL_GJ.dat"
|
def fileName = "/home/goojia/ccb/BIGDATA_DEAL_GJ.dat"
|
||||||
if(CommonDatautils.isWindow()){
|
if(CommonDatautils.isWindow()){
|
||||||
fileName = "d:\\数据\\建行\\房产估值\\数据文件\\txt\\BIGDATA_DEAL_GJ.dat"
|
fileName = "d:\\数据\\建行\\房产估值\\数据文件\\txt\\BIGDATA_DEAL_GJ.dat"
|
||||||
|
|||||||
Reference in New Issue
Block a user