This commit is contained in:
2024-04-02 16:02:59 +08:00
parent d83d586b2f
commit 9d985e920d
@@ -164,7 +164,7 @@ class BigdataCommunityGJRHBatch extends BaseBatch {
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\${curDate}\\MODEL_000000_000000_BIGDATA_COMMUNITY_FJW.dat"
}
def headers = []
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", false);
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", true);
println "BIGDATA_COMMUNITY_FJW 数据文件输出完成......"
@@ -251,7 +251,7 @@ class BigdataCommunityGJRHBatch extends BaseBatch {
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\${curDate}\\MODEL_000000_000000_BIGDATA_COMMBUILDSTRU_FJW.dat"
}
def headers = []
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", false);
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", true);
println "BIGDATA_COMMBUILDSTRU_FJW 数据文件输出完成......"
// sqlInstance.executeUpdate("delete from BIGDATA_COMMBUILDSTRU_FJW where CITYID='${cityid}'")
@@ -309,7 +309,7 @@ class BigdataCommunityGJRHBatch extends BaseBatch {
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\${curDate}\\MODEL_000000_000000_BIGDATA_COMMHOUSETYPE_FJW.dat"
}
def headers = []
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", false);
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", true);
println "BIGDATA_COMMHOUSETYPE_FJW 数据文件输出完成......"
@@ -367,7 +367,7 @@ class BigdataCommunityGJRHBatch extends BaseBatch {
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\${curDate}\\MODEL_000000_000000_BIGDATA_COMMBUILDYEAR_FJW.dat"
}
def headers = []
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", false);
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", true);
println "BIGDATA_COMMBUILDYEAR_FJW 数据文件输出完成......"
// sqlInstance.executeUpdate("delete from BIGDATA_COMMBUILDYEAR_FJW where CITYID='${cityid}'")
@@ -430,7 +430,7 @@ class BigdataCommunityGJRHBatch extends BaseBatch {
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\${curDate}\\MODEL_000000_000000_BIGDATA_COMMFEE_FJW.dat"
}
def headers = []
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", false);
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", true);
println "BIGDATA_COMMFEE_FJW 数据文件输出完成......"
@@ -509,7 +509,7 @@ class BigdataCommunityGJRHBatch extends BaseBatch {
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\${curDate}\\MODEL_000000_000000_BIGDATA_COMMHOUSEUSE_FJW.dat"
}
def headers = []
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", false);
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", true);
println "BIGDATA_COMMHOUSEUSE_FJW 数据文件输出完成......"
// sqlInstance.executeUpdate("delete from BIGDATA_COMMHOUSEUSE_FJW where CITYID='${cityid}'")
@@ -595,7 +595,7 @@ class BigdataCommunityGJRHBatch extends BaseBatch {
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\${curDate}\\MODEL_000000_000000_BIGDATA_POSITION_FJW.dat"
}
def headers = []
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", false);
FileUtils.batchCreateFile(rets, fileName, headers, "utf-8", true);
println "BIGDATA_POSITION_FJW 数据文件输出完成......"
}