Merge branch 'script_gj' into 'master'
path update See merge request !70
This commit is contained in:
+9
-1
@@ -44,8 +44,16 @@ class ThirdPartyPriceBatch extends BaseBatch {
|
||||
rows.addAll(rets)
|
||||
println index+" "+city+" "+rets.size()
|
||||
}
|
||||
|
||||
|
||||
|
||||
def fileName = "/home/goojia/ccb/third_party_price.txt"
|
||||
if(CommonDatautils.isWindow()){
|
||||
fileName = "d:\\数据\\建行\\房产估值\\数据文件\\txt\\third_party_price.txt"
|
||||
}
|
||||
|
||||
def header = ["第三方均价ID","楼盘ID","小区名称","城市ID","城市名称","行政区ID","行政区名称","均价对应的月份","诸葛找房均价","安居客均价","房天下均价","链家均价","城市房产均价","麦田均价","贝壳均价","淘房365","中原均价","兔博士均价","Q房均价","房探均价","房多多均价","我爱我家均价","创建时间","更新时间","来源公司"]
|
||||
FileUtils.batchCreateFile(rows, "d:\\数据\\建行\\房产估值\\数据文件\\txt\\third_party_price.txt", header, "utf-8", false);
|
||||
FileUtils.batchCreateFile(rows, fileName, header, "utf-8", false);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user