| | |
| | | |
| | | for (RoomDto roomDto : roomDtos) { |
| | | for (Map count : repairCounts) { |
| | | if (roomDto.getRoomId().equals(count.get("roomId"))) { |
| | | if (!StringUtil.isEmpty(roomDto.getRoomId()) && !StringUtil.isEmpty(count.get("roomId").toString())) { |
| | | if (roomDto.getRoomId().equals(count.get("roomId").toString())) { |
| | | roomDto.setContractCount(count.get("contractCount").toString()); |
| | | } |
| | | } else { |
| | | continue; |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | for (RoomDto roomDto : roomDtos) { |
| | | for (Map count : repairCounts) { |
| | | if (roomDto.getRoomId().equals(count.get("roomId"))) { |
| | | if (!StringUtil.isEmpty(roomDto.getRoomId()) && !StringUtil.isEmpty(count.get("roomId").toString())) { |
| | | if (roomDto.getRoomId().equals(count.get("roomId").toString())) { |
| | | roomDto.setRoomOweFee(count.get("oweFee").toString()); |
| | | } |
| | | } else { |
| | | continue; |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | for (RoomDto roomDto : roomDtos) { |
| | | for (Map count : repairCounts) { |
| | | if (roomDto.getOwnerId().equals(count.get("ownerId"))) { |
| | | if (!StringUtil.isEmpty(roomDto.getOwnerId()) && !StringUtil.isEmpty(count.get("ownerId").toString())) { |
| | | if (roomDto.getOwnerId().equals(count.get("ownerId").toString())) { |
| | | roomDto.setOweFee(count.get("oweFee").toString()); |
| | | } |
| | | } else { |
| | | continue; |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | for (RoomDto roomDto : roomDtos) { |
| | | for (Map count : repairCounts) { |
| | | if (roomDto.getLink().equals(count.get("ownerTel"))) { |
| | | if (!StringUtil.isEmpty(roomDto.getLink()) && !StringUtil.isEmpty(count.get("ownerTel").toString())) { |
| | | if (roomDto.getLink().equals(count.get("ownerTel").toString())) { |
| | | roomDto.setRepairCount(count.get("repairCount").toString()); |
| | | } |
| | | } else { |
| | | continue; |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | for (RoomDto roomDto : roomDtos) { |
| | | for (Map count : complaintCounts) { |
| | | if (roomDto.getLink().equals(count.get("ownerTel"))) { |
| | | if (!StringUtil.isEmpty(roomDto.getLink()) && !StringUtil.isEmpty(count.get("ownerTel").toString())) { |
| | | if (roomDto.getLink().equals(count.get("ownerTel").toString())) { |
| | | roomDto.setComplaintCount(count.get("complaintCount").toString()); |
| | | } |
| | | } else { |
| | | continue; |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | for (RoomDto roomDto : roomDtos) { |
| | | for (Map count : memberCounts) { |
| | | if (roomDto.getOwnerId().equals(count.get("ownerId"))) { |
| | | if (!StringUtil.isEmpty(roomDto.getOwnerId()) && !StringUtil.isEmpty(count.get("ownerId").toString())) { |
| | | if (roomDto.getOwnerId().equals(count.get("ownerId").toString())) { |
| | | roomDto.setCarCount(count.get("carCount").toString()); |
| | | } |
| | | } else { |
| | | continue; |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | for (RoomDto roomDto : roomDtos) { |
| | | for (Map count : ownerRoomCounts) { |
| | | if(StringUtil.isEmpty(roomDto.getOwnerId())){ |
| | | if (StringUtil.isEmpty(roomDto.getOwnerId()) || StringUtil.isEmpty(count.get("ownerId").toString())) { |
| | | continue; |
| | | } |
| | | if (roomDto.getOwnerId().equals(count.get("ownerId"))) { |
| | | if (roomDto.getOwnerId().equals(count.get("ownerId").toString())) { |
| | | roomDto.setRoomCount(count.get("roomCount").toString()); |
| | | } |
| | | } |