diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/pds/CPDBAvgGrowthRateBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/pds/CPDBAvgGrowthRateBatch.groovy index 6c8d9c9a8..5107646d1 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/pds/CPDBAvgGrowthRateBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/pds/CPDBAvgGrowthRateBatch.groovy @@ -32,9 +32,9 @@ class CPDBAvgGrowthRateBatch extends BaseBatch { @Override public void process(Object args) { - println "开始统计cpdb抵押品库中平均增长率排名" - cpdb_price_coll.remove(new BasicDBObject("date", getBeforeMonth(-1))) - stat() +// println "开始统计cpdb抵押品库中平均增长率排名" +// cpdb_price_coll.remove(new BasicDBObject("date", getBeforeMonth(-1))) +// stat() } def stat() { @@ -46,7 +46,7 @@ class CPDBAvgGrowthRateBatch extends BaseBatch { def region = data.region def name = data.original_district_name if (city && region && name) { - JSONObject json = OpenApiClient.evaluateDistrictPrice(city, region, name, area, 0, null, null, getBeforeMonthDate(-1)) + JSONObject json = OpenApiClient.evaluateDistrictPrice(city, region, name, area, 0, null, null, getBeforeMonthDate(-1)) JSONObject json2 = OpenApiClient.evaluateDistrictPrice(city, region, name, area, 0, null, null, getBeforeMonthDate(-2)) if (json == null) { json = OpenApiClient.evaluateDistrictPrice(city, region, name, area, 0, null, null, getBeforeMonthDate(-1))