252城成交追加

This commit is contained in:
2022-11-21 18:37:31 +08:00
parent 0c09b6c3f7
commit 2f8105cbb4
@@ -87,16 +87,16 @@ class BigdataDealBatch extends BaseBatch{
} }
// def trades = getCityData(city, statMap, ppeDists) def trades = getCityData(city, statMap, ppeDists)
// if(trades){ 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()
//
// def cityDatas = [] def cityDatas = []
// cityDatas << headers cityDatas << headers
// cityDatas.addAll(rows) cityDatas.addAll(rows)
// } }
} }
@@ -105,7 +105,7 @@ class BigdataDealBatch extends BaseBatch{
fileName = "d:\\数据\\建行\\房产估值\\数据文件\\txt\\BIGDATA_DEAL_GJ.dat" fileName = "d:\\数据\\建行\\房产估值\\数据文件\\txt\\BIGDATA_DEAL_GJ.dat"
} }
FileUtils.batchCreateFile(rows, fileName,headers, "utf-8", false); FileUtils.batchCreateFile(rows, fileName,headers, "utf-8", true);
println "txt 生成 " + rows.size() println "txt 生成 " + rows.size()
} }