| | |
| | | for (OwnerDto tmpOwnerDto : ownerDtos) { |
| | | CommunityDto communityDto = new CommunityDto(); |
| | | communityDto.setState("1100"); |
| | | communityDto.setCommunityId(ownerDto.getCommunityId()); |
| | | communityDto.setCommunityId(tmpOwnerDto.getCommunityId()); |
| | | communityDtos = communityInnerServiceSMOImpl.queryCommunitys(communityDto); |
| | | if (communityDtos == null || communityDtos.size() < 1) { |
| | | if (ListUtil.isNull(communityDtos)) { |
| | | continue; |
| | | } |
| | | communityDto = communityDtos.get(0); |
| | | ownerAppUserPo = new OwnerAppUserPo(); |
| | | ownerAppUserPo.setAppUserId(GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_appUserId)); |
| | | ownerAppUserPo.setMemberId(tmpOwnerDto.getMemberId()); |
| | | ownerAppUserPo.setCommunityId(communityDto.getCommunityId()); |
| | | ownerAppUserPo.setCommunityId(tmpOwnerDto.getCommunityId()); |
| | | ownerAppUserPo.setCommunityName(communityDto.getName()); |
| | | ownerAppUserPo.setAppUserName(tmpOwnerDto.getName()); |
| | | ownerAppUserPo.setIdCard(tmpOwnerDto.getIdCard()); |
| | | ownerAppUserPo.setLink(tmpOwnerDto.getLink()); |
| | | ownerAppUserPo.setOpenId("-1"); |
| | | ownerAppUserPo.setAppTypeCd("10010"); |
| | | ownerAppUserPo.setState(OwnerAppUserDto.STATE_AUDIT_SUCCESS); |
| | | ownerAppUserPo.setState(OwnerAppUserDto.STATE_AUDITING); |
| | | ownerAppUserPo.setRemark("注册自动关联"); |
| | | ownerAppUserPo.setUserId(userPo.getUserId()); |
| | | ownerAppUserPo.setAppType(appType); |