From b1819a64701bdab75740fe5bcb08cb599047b240 Mon Sep 17 00:00:00 2001 From: gaojuan1 Date: Thu, 20 Feb 2025 13:13:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=88=E4=B8=8D=E5=88=A4=E6=96=AD=E4=B9=A1?= =?UTF-8?q?=E9=95=87=E6=98=AF=E5=90=A6=E6=A0=87=E5=87=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../script/gj/data_handle/TownStandardBatch.groovy | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/TownStandardBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/TownStandardBatch.groovy index 0034cdb20..d8ee85b0c 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/TownStandardBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/data_handle/TownStandardBatch.groovy @@ -459,7 +459,7 @@ class TownStandardBatch extends BaseBatch{ totalCount.addAndGet(1) def rMap = regionFullNameMap.get(r.city) if (rMap) { - def townMap = CommonDatautils.queryTownByCity(r.city, ["city", "district", "mzb_district_name", "street", "alias", "shape"]) + def townMap = null//CommonDatautils.queryTownByCity(r.city, ["city", "district", "mzb_district_name", "street", "alias", "shape"]) def set = rMap.keySet() println totalCount.get() +" "+r.city + " " + set.size() // if (set.size() >= 1) { @@ -524,9 +524,10 @@ class TownStandardBatch extends BaseBatch{ saveObj.township = gaodeMap.township saveObj.new_district = gaodeMap.district saveObj.town_source = "¸ßµÂAPI" - if(townMap.size()>=1){ - saveObj.strand_town = isStandTown(townMap, saveObj.new_district, saveObj.township) - } + saveObj.strand_town = "" +// if(townMap.size()>=1){ +// saveObj.strand_town = isStandTown(townMap, saveObj.new_district, saveObj.township) +// } } }