Browse Source

修改在职党员报道,包联社区可以修改;

master
luyan 2 years ago
parent
commit
787a9b351e
  1. 7
      esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/party/service/impl/ReportPartyServiceImpl.java

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

@ -190,7 +190,12 @@ public class ReportPartyServiceImpl extends BaseServiceImpl<ReportPartyDao, Repo
@Override
public ReportPartyDTO getByIdCardAndName(String idCard, String name) {
return ConvertUtils.sourceToTarget(baseDao.getByIdCardAndName(idCard, name), ReportPartyDTO.class);
ReportPartyEntity entity = baseDao.getByIdCardAndName(idCard, name);
ReportPartyDTO dto = ConvertUtils.sourceToTarget(entity, ReportPartyDTO.class);
if (null != entity.getCouplingCommunity()) {
dto.setCouplingCommunity(entity.getCouplingCommunity().split(","));
}
return dto;
}
private void setDeptId(ReportPartyDTO dto) {

Loading…
Cancel
Save