Browse Source

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

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

12
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())) { 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();
result.setCouplingCommunityName(deptDTO.getParentDeptNames());
} }
if (StringUtils.isNotEmpty(entity.getIdCard())) { // if (StringUtils.isNotEmpty(entity.getIdCard())) {
String idCard = entity.getIdCard(); // String idCard = entity.getIdCard();
String temp = idCard.substring(0, 4) + tempKey + idCard.substring(idCard.length() - 3); // String temp = idCard.substring(0, 4) + tempKey + idCard.substring(idCard.length() - 3);
result.setIdCard(temp); // result.setIdCard(temp);
} // }
return result; return result;
} }

Loading…
Cancel
Save