Browse Source

党组织ID修改

master
zxc 3 years ago
parent
commit
ca80c502a4
  1. 2
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partyOrg/service/impl/IcPartyActServiceImpl.java

2
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partyOrg/service/impl/IcPartyActServiceImpl.java

@ -463,12 +463,14 @@ public class IcPartyActServiceImpl extends BaseServiceImpl<IcPartyActDao, IcPart
} }
formDTO.setAgencyId(staffInfo.getAgencyId()); formDTO.setAgencyId(staffInfo.getAgencyId());
if (!formDTO.getSearchType().equals("yearSearch")){ if (!formDTO.getSearchType().equals("yearSearch")){
if (StringUtils.isNotBlank(formDTO.getOrgId())){
IcPartyOrgDTO icPartyOrgDTO = partyOrgService.get(formDTO.getOrgId()); IcPartyOrgDTO icPartyOrgDTO = partyOrgService.get(formDTO.getOrgId());
if (null == icPartyOrgDTO){ if (null == icPartyOrgDTO){
throw new EpmetException("未查询到党组织信息:"+formDTO.getOrgId()); throw new EpmetException("未查询到党组织信息:"+formDTO.getOrgId());
} }
formDTO.setPath(StringUtils.isBlank(icPartyOrgDTO.getOrgPid()) || icPartyOrgDTO.getOrgPid().equals(NumConstant.ZERO_STR) ? icPartyOrgDTO.getId() : icPartyOrgDTO.getOrgPids().concat(":").concat(icPartyOrgDTO.getId())); formDTO.setPath(StringUtils.isBlank(icPartyOrgDTO.getOrgPid()) || icPartyOrgDTO.getOrgPid().equals(NumConstant.ZERO_STR) ? icPartyOrgDTO.getId() : icPartyOrgDTO.getOrgPids().concat(":").concat(icPartyOrgDTO.getId()));
} }
}
} }

Loading…
Cancel
Save