| | |
| | | private void doAddOwner(Business business, JSONObject businessOwner) { |
| | | |
| | | OwnerPo ownerPo = BeanConvertUtil.covertBean(businessOwner, OwnerPo.class); |
| | | OwnerDto ownerDto = new OwnerDto(); |
| | | ownerDto.setMemberId(ownerPo.getMemberId()); |
| | | List<OwnerDto> ownerDtoList = ownerInnerServiceSMOImpl.queryAllOwners(ownerDto); |
| | | Assert.listNotNull(ownerDtoList, "未查询到业主信息信息"); |
| | | ownerPo = BeanConvertUtil.covertBean(ownerDtoList.get(0), OwnerPo.class); |
| | | |
| | | CommunityDto communityDto = new CommunityDto(); |
| | | communityDto.setCommunityId(ownerPo.getCommunityId()); |
| | |
| | | body.put("maritalStatus", "N"); |
| | | body.put("religiousBelief", "无"); |
| | | body.put("ramark", ownerPo.getRemark()); |
| | | body.put("extRoomId", extRoomId); |
| | | body.put("extRoomId", extRoomId.toJSONString()); |
| | | body.put("ownerType", "2002"); |
| | | body.put("ownerAddress", "无"); |
| | | body.put("ownerTypeCd", ownerPo.getOwnerTypeCd()); |