Browse Source

修改党员报到web端业务逻辑;

master
luyan 1 year ago
parent
commit
e624802d44
  1. 14
      esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/party/service/impl/ReportPartyServiceImpl.java

14
esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/party/service/impl/ReportPartyServiceImpl.java

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

Loading…
Cancel
Save