|
|
@ -631,15 +631,20 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
private List<IcEventYpAnalysisResultDTO.Dependent> getDependents(String idCard) { |
|
|
|
// 家属列表
|
|
|
|
ArrayList<IcEventYpAnalysisResultDTO.Dependent> dependents = new ArrayList<>(); |
|
|
|
IcResiUserBriefDTO familyInfo = getResultDataOrThrowsException(userOpenFeignClient.findFamilyMemByIdCard(idCard), |
|
|
|
ServiceConstant.EPMET_USER_SERVER, |
|
|
|
EpmetErrorCode.SERVER_ERROR.getCode(), |
|
|
|
"【事件研判分析】查找家属失败", |
|
|
|
"【事件研判分析】查找家属失败"); |
|
|
|
|
|
|
|
if (familyInfo == null) { |
|
|
|
return dependents; |
|
|
|
} |
|
|
|
|
|
|
|
List<HouseUserDTO> houseUserList = familyInfo.getHouseUserList(); |
|
|
|
|
|
|
|
ArrayList<IcEventYpAnalysisResultDTO.Dependent> dependents = new ArrayList<>(); |
|
|
|
if (CollectionUtils.isEmpty(houseUserList)) { |
|
|
|
return dependents; |
|
|
|
} |
|
|
|