update
This commit is contained in:
+2
-1
@@ -90,6 +90,7 @@ class FjwBigdataDealBatch extends BaseBatch{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
println "txt 生成 " + rows.size()
|
||||||
saveToPgSql(rows)
|
saveToPgSql(rows)
|
||||||
|
|
||||||
// def datas = readTxt("D:\\数据\\建行\\建行成交\\MODEL_000000_000000_BIGDATA_DEAL_GJ_ADD_20230928_0001.dat")
|
// def datas = readTxt("D:\\数据\\建行\\建行成交\\MODEL_000000_000000_BIGDATA_DEAL_GJ_ADD_20230928_0001.dat")
|
||||||
@@ -356,7 +357,7 @@ class FjwBigdataDealBatch extends BaseBatch{
|
|||||||
|
|
||||||
def converData(def trade, def cityCodeDatas, def distCodeMap){
|
def converData(def trade, def cityCodeDatas, def distCodeMap){
|
||||||
def ret = []
|
def ret = []
|
||||||
def data = distCodeMap.get(trade.region)
|
def data = distCodeMap.get(trade.match_region)
|
||||||
if(!data){
|
if(!data){
|
||||||
println trade.city +" "+trade.region+" 没有找到对应的区域"
|
println trade.city +" "+trade.region+" 没有找到对应的区域"
|
||||||
return ret
|
return ret
|
||||||
|
|||||||
Reference in New Issue
Block a user