|
@ -148,12 +148,14 @@ public class ReportPartyServiceImpl extends BaseServiceImpl<ReportPartyDao, Repo |
|
|
} |
|
|
} |
|
|
if (StringUtils.isNotEmpty(entity.getCouplingCommunity())) { |
|
|
if (StringUtils.isNotEmpty(entity.getCouplingCommunity())) { |
|
|
result.setCouplingCommunity(entity.getCouplingCommunity().split(",")); |
|
|
result.setCouplingCommunity(entity.getCouplingCommunity().split(",")); |
|
|
} |
|
|
ParentAndAllDeptDTO deptDTO = adminFeignClient.getParentAndAllDept(result.getCouplingCommunity()[result.getCouplingCommunity().length - 1]).getData(); |
|
|
if (StringUtils.isNotEmpty(entity.getIdCard())) { |
|
|
result.setCouplingCommunityName(deptDTO.getParentDeptNames()); |
|
|
String idCard = entity.getIdCard(); |
|
|
} |
|
|
String temp = idCard.substring(0, 4) + tempKey + idCard.substring(idCard.length() - 3); |
|
|
// if (StringUtils.isNotEmpty(entity.getIdCard())) {
|
|
|
result.setIdCard(temp); |
|
|
// String idCard = entity.getIdCard();
|
|
|
} |
|
|
// String temp = idCard.substring(0, 4) + tempKey + idCard.substring(idCard.length() - 3);
|
|
|
|
|
|
// result.setIdCard(temp);
|
|
|
|
|
|
// }
|
|
|
return result; |
|
|
return result; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|