From 1a15f8d2cff63f361648975f7a4172f089373a58 Mon Sep 17 00:00:00 2001 From: gaojuan1 Date: Wed, 19 Nov 2025 11:42:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=B8=E5=B7=9E=E5=95=86=E9=93=BA=E5=90=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../script/jiangnanblank/CZDataBatch.groovy | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/jiangnanblank/CZDataBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/jiangnanblank/CZDataBatch.groovy index 4e23f59e1..5a037dba9 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/jiangnanblank/CZDataBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/jiangnanblank/CZDataBatch.groovy @@ -56,7 +56,7 @@ class CZDataBatch extends BaseBatch{ def weekend = DateUtils.getFirstDayOfWeek(new Date()) def statMap = CommonDatautils.queryAllDistrictPriceByWeekend(city, weekend) def commids = findAllJnBankDatas(city) - +// def districts = converList(CommonDatautils.findAllDistricts(city, "district", fields)); FzDataUtils.removeNoUpdate(city, districts) districtRun(districts, statMap, commids); @@ -219,14 +219,14 @@ class CZDataBatch extends BaseBatch{ // 商铺名称 map.name = shop.name map.alias = shop.alias - map.build_date = getBuildDate(shop); + map.build_date = FzDataUtils.getBuildDate(shop); //附属属性 map.build_type = shop.build_type map.property_life = shop.property_life map.estate_type2 = shop.estate_type2 map.build_structure = shop.build_structure // 楼盘均价 - map.avg_price = getShopPrice(priceString, shop.city, shop.region, shop.name); + map.avg_price = FzDataUtils.getShopPrice(priceString, shop.city, shop.region, shop.name); // 省 市 区 if(shop.city == "常州"){ map.province_code = regionMap.get("江苏"); @@ -241,28 +241,28 @@ class CZDataBatch extends BaseBatch{ // 地址 map.address = shop.address // 所属区域 - map.in_region_code = getRegionCode(shop.region); + map.in_region_code = FzDataUtils.getRegionCode(shop.region); // 商铺类型 - map.estate_type = getShopEstateTypeCode(shop.estate_type2); + map.estate_type = FzDataUtils.getShopEstateTypeCode(shop.estate_type2); // 公共服务配套 - map.public_service_set_code = getPublicServiceSetCode(shop.city, shop.lat2, shop.lng2); + map.public_service_set_code = FzDataUtils.getPublicServiceSetCode(shop.city, shop.lat2, shop.lng2); // 基础设施 map.facilities_code = "01"; // 商业密度 - map.sophistication_code = getSophisticationCode(shop.city, shop.lat2, shop.lng2); + map.sophistication_code = FzDataUtils.getSophisticationCode(shop.city, shop.lat2, shop.lng2); // 交通条件 - map.traffic_code = getTrafficCode(shop.city, shop.lat2, shop.lng2); + map.traffic_code = FzDataUtils.getTrafficCode(shop.city, shop.lat2, shop.lng2); // 泊车条件 / map.stop_car_code = "01"; // 临街道路 - map.street_code = getStreetCode(street); + map.street_code = FzDataUtils.getStreetCode(street); // 租金 - map.shop_rent = getRentNumber(rentPrice, shop.city, shop.region, shop.name); + map.shop_rent = FzDataUtils.getRentNumber(rentPrice, shop.city, shop.region, shop.name); // 物业公司 - map.estate_company = getEstateCompany(shop.estate_company); + map.estate_company = FzDataUtils.getEstateCompany(shop.estate_company); // 物业费(每月每平米) - map.estate_charge = getEstateCharge(shop.estate_charge); + map.estate_charge = FzDataUtils.getEstateCharge(shop.estate_charge); saveShop(map); }