| | |
| | | import com.java110.utils.exception.CmdException; |
| | | import com.java110.utils.util.Assert; |
| | | import com.java110.utils.util.ListUtil; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | Assert.listNotNull(communityDtos, "未包含小区信息"); |
| | | CommunityDto tmpCommunityDto = communityDtos.get(0); |
| | | |
| | | UserDto userDto = new UserDto(); |
| | | userDto.setTel(ownerPo.getLink()); |
| | | userDto.setLevelCd(UserLevelConstant.USER_LEVEL_ORDINARY); |
| | | List<UserDto> userDtos = userV1InnerServiceSMOImpl.queryUsers(userDto); |
| | | List<UserDto> userDtos = null; |
| | | if(!StringUtils.isEmpty(ownerPo.getLink())){ |
| | | UserDto userDto = new UserDto(); |
| | | userDto.setTel(ownerPo.getLink()); |
| | | userDto.setLevelCd(UserLevelConstant.USER_LEVEL_ORDINARY); |
| | | userDtos = userV1InnerServiceSMOImpl.queryUsers(userDto); |
| | | } |
| | | String userId = ""; |
| | | if (ListUtil.isNull(userDtos)) { |
| | | UserPo userPo = new UserPo(); |