| | |
| | | BeanUtils.copyProperties(convenientElevatingPointDTO,convenientElevatingPointDO); |
| | | String communityId = convenientElevatingPointDTO.getCommunityId(); |
| | | if (nonNull(communityId)) { |
| | | ComActDO comActDO = comActDAO.selectById(Long.parseLong(communityId.substring(communityId.lastIndexOf(",")))); |
| | | ComActDO comActDO = comActDAO.selectById(Long.parseLong(communityId.substring(communityId.lastIndexOf(",")+1))); |
| | | if(comActDO!=null){ |
| | | convenientElevatingPointDO.setCommunityName(comActDO.getName()); |
| | | } |
| | |
| | | } |
| | | String communityId = convenientElevatingPointDTO.getCommunityId(); |
| | | if (nonNull(communityId)) { |
| | | ComActDO comActDO = comActDAO.selectById(Long.parseLong(communityId.substring(communityId.lastIndexOf(",")))); |
| | | ComActDO comActDO = comActDAO.selectById(Long.parseLong(communityId.substring(communityId.lastIndexOf(",")+1))); |
| | | if(comActDO!=null){ |
| | | convenientElevatingPointDO.setCommunityName(comActDO.getName()); |
| | | } |