From 732abc661edefa24b3e01ce05f8d774186cbf1c8 Mon Sep 17 00:00:00 2001 From: gaojuan Date: Fri, 21 Mar 2025 17:02:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=8E=89=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fangjia/script/pds/CPDBAvgGrowthRateBatch.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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))