注释掉不需要的统计

This commit is contained in:
2025-03-21 17:02:20 +08:00
parent d8e781617c
commit 732abc661e
@@ -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))