|
@ -486,6 +486,16 @@ public class CoverageServiceImpl implements CoverageService { |
|
|
result.setTotal(Long.valueOf(String.valueOf(allIcUser.size()))); |
|
|
result.setTotal(Long.valueOf(String.valueOf(allIcUser.size()))); |
|
|
result.setList(allIcUser); |
|
|
result.setList(allIcUser); |
|
|
} |
|
|
} |
|
|
|
|
|
if (CollectionUtils.isNotEmpty(result.getList())){ |
|
|
|
|
|
result.getList().forEach(r -> { |
|
|
|
|
|
HouseInfoCache houseInfo = CustomerIcHouseRedis.getHouseInfo(formDTO.getCustomerId(), r.getHomeId()); |
|
|
|
|
|
if (null == houseInfo){ |
|
|
|
|
|
throw new EpmetException("获取房屋信息失败:"+r.getHomeId()); |
|
|
|
|
|
} |
|
|
|
|
|
r.setLongitude(houseInfo.getBuildingLongitude()); |
|
|
|
|
|
r.setLatitude(houseInfo.getBuildingLatitude()); |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
return result; |
|
|
return result; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|