| | |
| | | //JSONObject businessOwnerCar = data.getJSONObject("businessOwnerCar"); |
| | | for (int bOwnerCarIndex = 0; bOwnerCarIndex < businessOwnerCars.size(); bOwnerCarIndex++) { |
| | | JSONObject businessOwnerCar = businessOwnerCars.getJSONObject(bOwnerCarIndex); |
| | | if ("TRUE".equals(MappingCache.getValue(HcGovConstant.GOV_DOMAIN, HcGovConstant.GOV_SWITCH))) { |
| | | doAddFloor(business, businessOwnerCar); |
| | | } |
| | | doAddFloor(business, businessOwnerCar); |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | communityDto.setCommunityId(floorPo.getCommunityId()); |
| | | List<CommunityDto> communityDtos = communityInnerServiceSMOImpl.queryCommunitys(communityDto); |
| | | |
| | | Assert.listOnlyOne(communityDtos, "未包含小区信息"); |
| | | Assert.listNotNull(communityDtos, "未包含小区信息"); |
| | | CommunityDto tmpCommunityDto = communityDtos.get(0); |
| | | String extCommunityId = ""; |
| | | String communityId = tmpCommunityDto.getCommunityId(); |
| | |
| | | body.put("layerCount", layerCount); |
| | | body.put("unitCount", floorUse); |
| | | body.put("floorUse", tmpCommunityDto.getName() + "_住宅"); |
| | | body.put("personName", "HC小区管理系统"); |
| | | body.put("personName", "小区管理系统"); |
| | | body.put("personLink", "18909711234"); |
| | | |
| | | JSONObject kafkaData = baseHcGovSendAsynImpl.createHeadersOrBody(body, extCommunityId, HcGovConstant.ADD_FLOOR_ACTION, HcGovConstant.COMMUNITY_SECURE); |