From 9d985e920d7dd836a21e6c778049ece2f93fff3a Mon Sep 17 00:00:00 2001 From: gaojuan Date: Tue, 2 Apr 2024 16:02:59 +0800 Subject: [PATCH] update --- .../ronghe/BigdataCommunityGJRHBatch.groovy | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCommunityGJRHBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCommunityGJRHBatch.groovy index 00a1ddd5e..d2ad41623 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCommunityGJRHBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/ccbevaluation/ronghe/BigdataCommunityGJRHBatch.groovy @@ -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 数据文件输出完成......" }