常州商铺同修改

This commit is contained in:
2025-11-19 11:42:41 +08:00
parent b1f6cb9728
commit 1a15f8d2cf
@@ -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);
}