| | |
| | | <!-- 保存小区管理信息 add by wuxw 2018-07-03 --> |
| | | <insert id="saveCommunityInfo" parameterType="Map"> |
| | | insert into s_community( |
| | | fee_price,address,city_code,map_y,pay_fee_month,map_x,nearby_landmarks,name,tel,state,community_id,community_area,take_time |
| | | fee_price,address,city_code,map_y,pay_fee_month,map_x,nearby_landmarks,name,tel,state,community_id,community_area,take_time, |
| | | project_address_province,project_address_city,project_address_district,project_address_town,project_address_road, |
| | | house_completion_date,project_nature,project_type,project_land_area,total_construction_area,chargeable_total_area, |
| | | chargeable_area_multilayer,chargeable_area_high_rise1,chargeable_area_high_rise_up,chargeable_area_shop,chargeable_area_villa, |
| | | chargeable_area_office,chargeable_area_commercial_house,green_area,area_details,property_management_address, |
| | | property_manager_name,property_manager_phone,day_repair_phone,night_repair_phone,project_manager,has_manager_certificate, |
| | | certificate_name,manager_certificate_no,manager_phone,neighborhood_committee_name,neighborhood_committee_address, |
| | | neighborhood_secretary,neighborhood_office_phone,secretary_phone,owners_committee_address,owners_committee_chairman, |
| | | chairman_phone,fire_hydrant_count,fire_channel_count,water_tank_count,reservoir_count,total_motor_vehicle_spaces, |
| | | ground_motor_vehicle_spaces,underground_motor_vehicle_spaces,new_energy_charging_piles,non_motor_vehicle_charging_points, |
| | | ground_non_motor_vehicle_area,underground_non_motor_vehicle_area,clubhouse_area,has_decoration_rubbish_point, |
| | | security_entrance_count,elevator_count,elevator_type,elevator_install_date,elevator_service_life,elevator_brand1, |
| | | elevator_brand2,monitor_count,monitor_maintenance_company,barrier_gate_count,barrier_gate_brand,barrier_supplier_contact, |
| | | barrier_supplier_phone,water_pump_count,ground_parking_spaces,underground_parking_spaces,ground_non_mechanical_fee, |
| | | garage_non_mechanical_fee,temporary_hourly_fee,temporary_daily_fee,temporary_per_time_fee,total_building_count, |
| | | building_unit_count,high_rise_building_count,multilayer_villa_building_count,residential_household_count,shop_household_count |
| | | <if test="outTime != null and outTime != ''"> |
| | | ,out_time |
| | | </if> |
| | |
| | | ,community_code |
| | | </if> |
| | | ) values ( |
| | | #{feePrice},#{address},#{cityCode},#{mapY},#{payFeeMonth},#{mapX},#{nearbyLandmarks},#{name},#{tel},#{state},#{communityId},#{communityArea},#{takeTime} |
| | | #{feePrice},#{address},#{cityCode},#{mapY},#{payFeeMonth},#{mapX},#{nearbyLandmarks},#{name},#{tel},#{state},#{communityId},#{communityArea},#{takeTime}, |
| | | #{projectAddressProvince},#{projectAddressCity},#{projectAddressDistrict},#{projectAddressTown},#{projectAddressRoad}, |
| | | #{houseCompletionDate},#{projectNature},#{projectType},#{projectLandArea},#{totalConstructionArea},#{chargeableTotalArea}, |
| | | #{chargeableAreaMultilayer},#{chargeableAreaHighRise1},#{chargeableAreaHighRiseUp},#{chargeableAreaShop},#{chargeableAreaVilla}, |
| | | #{chargeableAreaOffice},#{chargeableAreaCommercialHouse},#{greenArea},#{areaDetails},#{propertyManagementAddress}, |
| | | #{propertyManagerName},#{propertyManagerPhone},#{dayRepairPhone},#{nightRepairPhone},#{projectManager},#{hasManagerCertificate}, |
| | | #{certificateName},#{managerCertificateNo},#{managerPhone},#{neighborhoodCommitteeName},#{neighborhoodCommitteeAddress}, |
| | | #{neighborhoodSecretary},#{neighborhoodOfficePhone},#{secretaryPhone},#{ownersCommitteeAddress},#{ownersCommitteeChairman}, |
| | | #{chairmanPhone},#{fireHydrantCount},#{fireChannelCount},#{waterTankCount},#{reservoirCount},#{totalMotorVehicleSpaces}, |
| | | #{groundMotorVehicleSpaces},#{undergroundMotorVehicleSpaces},#{newEnergyChargingPiles},#{nonMotorVehicleChargingPoints}, |
| | | #{groundNonMotorVehicleArea},#{undergroundNonMotorVehicleArea},#{clubhouseArea},#{hasDecorationRubbishPoint}, |
| | | #{securityEntranceCount},#{elevatorCount},#{elevatorType},#{elevatorInstallDate},#{elevatorServiceLife},#{elevatorBrand1}, |
| | | #{elevatorBrand2},#{monitorCount},#{monitorMaintenanceCompany},#{barrierGateCount},#{barrierGateBrand},#{barrierSupplierContact}, |
| | | #{barrierSupplierPhone},#{waterPumpCount},#{groundParkingSpaces},#{undergroundParkingSpaces},#{groundNonMechanicalFee}, |
| | | #{garageNonMechanicalFee},#{temporaryHourlyFee},#{temporaryDailyFee},#{temporaryPerTimeFee},#{totalBuildingCount}, |
| | | #{buildingUnitCount},#{highRiseBuildingCount},#{multilayerVillaBuildingCount},#{residentialHouseholdCount},#{shopHouseholdCount} |
| | | <if test="outTime != null and outTime != ''">,#{outTime}</if> |
| | | <if test="communityCode != null and communityCode != ''">,#{communityCode}</if> |
| | | ) |
| | |
| | | <if test="communityCode !=null and communityCode != ''"> |
| | | , t.community_code= #{communityCode} |
| | | </if> |
| | | <if test="projectAddressProvince !=null and projectAddressProvince != ''"> |
| | | , t.project_address_province= #{projectAddressProvince} |
| | | </if> |
| | | <if test="projectAddressCity !=null and projectAddressCity != ''"> |
| | | , t.project_address_city= #{projectAddressCity} |
| | | </if> |
| | | <if test="projectAddressDistrict !=null and projectAddressDistrict != ''"> |
| | | , t.project_address_district= #{projectAddressDistrict} |
| | | </if> |
| | | <if test="projectAddressTown !=null and projectAddressTown != ''"> |
| | | , t.project_address_town= #{projectAddressTown} |
| | | </if> |
| | | <if test="projectAddressRoad !=null and projectAddressRoad != ''"> |
| | | , t.project_address_road= #{projectAddressRoad} |
| | | </if> |
| | | <if test="houseCompletionDate !=null"> |
| | | , t.house_completion_date= #{houseCompletionDate} |
| | | </if> |
| | | <if test="projectNature !=null and projectNature != ''"> |
| | | , t.project_nature= #{projectNature} |
| | | </if> |
| | | <if test="projectType !=null and projectType != ''"> |
| | | , t.project_type= #{projectType} |
| | | </if> |
| | | <if test="projectLandArea != null and projectLandArea != ''"> |
| | | , t.project_land_area= #{projectLandArea} |
| | | </if> |
| | | <if test="totalConstructionArea != null and totalConstructionArea != ''"> |
| | | , t.total_construction_area= #{totalConstructionArea} |
| | | </if> |
| | | <if test="chargeableTotalArea != null and chargeableTotalArea != ''"> |
| | | , t.chargeable_total_area= #{chargeableTotalArea} |
| | | </if> |
| | | <if test="chargeableAreaMultilayer != null and chargeableAreaMultilayer != ''"> |
| | | , t.chargeable_area_multilayer= #{chargeableAreaMultilayer} |
| | | </if> |
| | | <if test="chargeableAreaHighRise1 != null and chargeableAreaHighRise1 != ''"> |
| | | , t.chargeable_area_high_rise1= #{chargeableAreaHighRise1} |
| | | </if> |
| | | <if test="chargeableAreaHighRiseUp != null and chargeableAreaHighRiseUp != ''"> |
| | | , t.chargeable_area_high_rise_up= #{chargeableAreaHighRiseUp} |
| | | </if> |
| | | <if test="chargeableAreaShop != null and chargeableAreaShop != ''"> |
| | | , t.chargeable_area_shop= #{chargeableAreaShop} |
| | | </if> |
| | | <if test="chargeableAreaVilla != null and chargeableAreaVilla != ''"> |
| | | , t.chargeable_area_villa= #{chargeableAreaVilla} |
| | | </if> |
| | | <if test="chargeableAreaOffice != null and chargeableAreaOffice != ''"> |
| | | , t.chargeable_area_office= #{chargeableAreaOffice} |
| | | </if> |
| | | <if test="chargeableAreaCommercialHouse != null and chargeableAreaCommercialHouse != ''"> |
| | | , t.chargeable_area_commercial_house= #{chargeableAreaCommercialHouse} |
| | | </if> |
| | | <if test="greenArea != null and greenArea != ''"> |
| | | , t.green_area= #{greenArea} |
| | | </if> |
| | | <if test="areaDetails != null and areaDetails != ''"> |
| | | , t.area_details= #{areaDetails} |
| | | </if> |
| | | <if test="propertyManagementAddress != null and propertyManagementAddress != ''"> |
| | | , t.property_management_address= #{propertyManagementAddress} |
| | | </if> |
| | | <if test="propertyManagerName != null and propertyManagerName != ''"> |
| | | , t.property_manager_name= #{propertyManagerName} |
| | | </if> |
| | | <if test="propertyManagerPhone != null and propertyManagerPhone != ''"> |
| | | , t.property_manager_phone= #{propertyManagerPhone} |
| | | </if> |
| | | <if test="dayRepairPhone != null and dayRepairPhone != ''"> |
| | | , t.day_repair_phone= #{dayRepairPhone} |
| | | </if> |
| | | <if test="nightRepairPhone != null and nightRepairPhone != ''"> |
| | | , t.night_repair_phone= #{nightRepairPhone} |
| | | </if> |
| | | <if test="projectManager != null and projectManager != ''"> |
| | | , t.project_manager= #{projectManager} |
| | | </if> |
| | | <if test="hasManagerCertificate != null"> |
| | | , t.has_manager_certificate= #{hasManagerCertificate} |
| | | </if> |
| | | <if test="certificateName != null and certificateName != ''"> |
| | | , t.certificate_name= #{certificateName} |
| | | </if> |
| | | <if test="managerCertificateNo != null and managerCertificateNo != ''"> |
| | | , t.manager_certificate_no= #{managerCertificateNo} |
| | | </if> |
| | | <if test="managerPhone != null and managerPhone != ''"> |
| | | , t.manager_phone= #{managerPhone} |
| | | </if> |
| | | <if test="neighborhoodCommitteeName != null and neighborhoodCommitteeName != ''"> |
| | | , t.neighborhood_committee_name= #{neighborhoodCommitteeName} |
| | | </if> |
| | | <if test="neighborhoodCommitteeAddress != null and neighborhoodCommitteeAddress != ''"> |
| | | , t.neighborhood_committee_address= #{neighborhoodCommitteeAddress} |
| | | </if> |
| | | <if test="neighborhoodSecretary != null and neighborhoodSecretary != ''"> |
| | | , t.neighborhood_secretary= #{neighborhoodSecretary} |
| | | </if> |
| | | <if test="neighborhoodOfficePhone != null and neighborhoodOfficePhone != ''"> |
| | | , t.neighborhood_office_phone= #{neighborhoodOfficePhone} |
| | | </if> |
| | | <if test="secretaryPhone != null and secretaryPhone != ''"> |
| | | , t.secretary_phone= #{secretaryPhone} |
| | | </if> |
| | | <if test="ownersCommitteeAddress != null and ownersCommitteeAddress != ''"> |
| | | , t.owners_committee_address= #{ownersCommitteeAddress} |
| | | </if> |
| | | <if test="ownersCommitteeChairman != null and ownersCommitteeChairman != ''"> |
| | | , t.owners_committee_chairman= #{ownersCommitteeChairman} |
| | | </if> |
| | | <if test="chairmanPhone != null and chairmanPhone != ''"> |
| | | , t.chairman_phone= #{chairmanPhone} |
| | | </if> |
| | | <if test="fireHydrantCount != null and fireHydrantCount != ''"> |
| | | , t.fire_hydrant_count= #{fireHydrantCount} |
| | | </if> |
| | | <if test="fireChannelCount != null and fireChannelCount != ''"> |
| | | , t.fire_channel_count= #{fireChannelCount} |
| | | </if> |
| | | <if test="waterTankCount != null and waterTankCount != ''"> |
| | | , t.water_tank_count= #{waterTankCount} |
| | | </if> |
| | | <if test="reservoirCount != null and reservoirCount != ''"> |
| | | , t.reservoir_count= #{reservoirCount} |
| | | </if> |
| | | <if test="totalMotorVehicleSpaces != null and totalMotorVehicleSpaces != ''"> |
| | | , t.total_motor_vehicle_spaces= #{totalMotorVehicleSpaces} |
| | | </if> |
| | | <if test="groundMotorVehicleSpaces != null and groundMotorVehicleSpaces != ''"> |
| | | , t.ground_motor_vehicle_spaces= #{groundMotorVehicleSpaces} |
| | | </if> |
| | | <if test="undergroundMotorVehicleSpaces != null and undergroundMotorVehicleSpaces != ''"> |
| | | , t.underground_motor_vehicle_spaces= #{undergroundMotorVehicleSpaces} |
| | | </if> |
| | | <if test="newEnergyChargingPiles != null and newEnergyChargingPiles != ''"> |
| | | , t.new_energy_charging_piles= #{newEnergyChargingPiles} |
| | | </if> |
| | | <if test="nonMotorVehicleChargingPoints != null and nonMotorVehicleChargingPoints != ''"> |
| | | , t.non_motor_vehicle_charging_points= #{nonMotorVehicleChargingPoints} |
| | | </if> |
| | | <if test="groundNonMotorVehicleArea != null and groundNonMotorVehicleArea != ''"> |
| | | , t.ground_non_motor_vehicle_area= #{groundNonMotorVehicleArea} |
| | | </if> |
| | | <if test="undergroundNonMotorVehicleArea != null and undergroundNonMotorVehicleArea != ''"> |
| | | , t.underground_non_motor_vehicle_area= #{undergroundNonMotorVehicleArea} |
| | | </if> |
| | | <if test="clubhouseArea != null and clubhouseArea != ''"> |
| | | , t.clubhouse_area= #{clubhouseArea} |
| | | </if> |
| | | <if test="hasDecorationRubbishPoint != null"> |
| | | , t.has_decoration_rubbish_point= #{hasDecorationRubbishPoint} |
| | | </if> |
| | | <if test="securityEntranceCount != null and securityEntranceCount != ''"> |
| | | , t.security_entrance_count= #{securityEntranceCount} |
| | | </if> |
| | | <if test="elevatorCount != null and elevatorCount != ''"> |
| | | , t.elevator_count= #{elevatorCount} |
| | | </if> |
| | | <if test="elevatorType != null and elevatorType != ''"> |
| | | , t.elevator_type= #{elevatorType} |
| | | </if> |
| | | <if test="elevatorInstallDate != null and elevatorInstallDate != ''"> |
| | | , t.elevator_install_date= #{elevatorInstallDate} |
| | | </if> |
| | | <if test="elevatorServiceLife != null and elevatorServiceLife != ''"> |
| | | , t.elevator_service_life= #{elevatorServiceLife} |
| | | </if> |
| | | <if test="elevatorBrand1 != null and elevatorBrand1 != ''"> |
| | | , t.elevator_brand1= #{elevatorBrand1} |
| | | </if> |
| | | <if test="elevatorBrand2 != null and elevatorBrand2 != ''"> |
| | | , t.elevator_brand2= #{elevatorBrand2} |
| | | </if> |
| | | <if test="monitorCount != null and monitorCount != ''"> |
| | | , t.monitor_count= #{monitorCount} |
| | | </if> |
| | | <if test="monitorMaintenanceCompany != null and monitorMaintenanceCompany != ''"> |
| | | , t.monitor_maintenance_company= #{monitorMaintenanceCompany} |
| | | </if> |
| | | <if test="barrierGateCount != null and barrierGateCount != ''"> |
| | | , t.barrier_gate_count= #{barrierGateCount} |
| | | </if> |
| | | <if test="barrierGateBrand != null and barrierGateBrand != ''"> |
| | | , t.barrier_gate_brand= #{barrierGateBrand} |
| | | </if> |
| | | <if test="barrierSupplierContact != null and barrierSupplierContact != ''"> |
| | | , t.barrier_supplier_contact= #{barrierSupplierContact} |
| | | </if> |
| | | <if test="barrierSupplierPhone != null and barrierSupplierPhone != ''"> |
| | | , t.barrier_supplier_phone= #{barrierSupplierPhone} |
| | | </if> |
| | | <if test="waterPumpCount != null and waterPumpCount != ''"> |
| | | , t.water_pump_count= #{waterPumpCount} |
| | | </if> |
| | | <if test="groundParkingSpaces != null and groundParkingSpaces != ''"> |
| | | , t.ground_parking_spaces= #{groundParkingSpaces} |
| | | </if> |
| | | <if test="undergroundParkingSpaces != null and undergroundParkingSpaces != ''"> |
| | | , t.underground_parking_spaces= #{undergroundParkingSpaces} |
| | | </if> |
| | | <if test="groundNonMechanicalFee != null and groundNonMechanicalFee != ''"> |
| | | , t.ground_non_mechanical_fee= #{groundNonMechanicalFee} |
| | | </if> |
| | | <if test="garageNonMechanicalFee != null and garageNonMechanicalFee != ''"> |
| | | , t.garage_non_mechanical_fee= #{garageNonMechanicalFee} |
| | | </if> |
| | | <if test="temporaryHourlyFee != null and temporaryHourlyFee != ''"> |
| | | , t.temporary_hourly_fee= #{temporaryHourlyFee} |
| | | </if> |
| | | <if test="temporaryDailyFee != null and temporaryDailyFee != ''"> |
| | | , t.temporary_daily_fee= #{temporaryDailyFee} |
| | | </if> |
| | | <if test="temporaryPerTimeFee != null and temporaryPerTimeFee != ''"> |
| | | , t.temporary_per_time_fee= #{temporaryPerTimeFee} |
| | | </if> |
| | | <if test="totalBuildingCount != null and totalBuildingCount != ''"> |
| | | , t.total_building_count= #{totalBuildingCount} |
| | | </if> |
| | | <if test="buildingUnitCount != null and buildingUnitCount != ''"> |
| | | , t.building_unit_count= #{buildingUnitCount} |
| | | </if> |
| | | <if test="highRiseBuildingCount != null and highRiseBuildingCount != ''"> |
| | | , t.high_rise_building_count= #{highRiseBuildingCount} |
| | | </if> |
| | | <if test="multilayerVillaBuildingCount != null and multilayerVillaBuildingCount != ''"> |
| | | , t.multilayer_villa_building_count= #{multilayerVillaBuildingCount} |
| | | </if> |
| | | <if test="residentialHouseholdCount != null and residentialHouseholdCount != ''"> |
| | | , t.residential_household_count= #{residentialHouseholdCount} |
| | | </if> |
| | | <if test="shopHouseholdCount != null and shopHouseholdCount != ''"> |
| | | , t.shop_household_count= #{shopHouseholdCount} |
| | | </if> |
| | | where 1=1 |
| | | <if test="communityId !=null and communityId != ''"> |
| | | and t.community_id= #{communityId} |