|
|
@ -142,6 +142,9 @@ public class IcPartyMemberServiceImpl extends BaseServiceImpl<IcPartyMemberDao, |
|
|
|
@Override |
|
|
|
public IcPartyMemberDTO get(String id) { |
|
|
|
IcPartyMemberEntity entity = baseDao.selectById(id); |
|
|
|
if (null == entity) { |
|
|
|
throw new EpmetException(EpmetErrorCode.SERVER_ERROR.getCode(), "党员不存在", "党员不存在"); |
|
|
|
} |
|
|
|
IcPartyMemberDTO dto = ConvertUtils.sourceToTarget(entity, IcPartyMemberDTO.class); |
|
|
|
//党组织名
|
|
|
|
if (StringUtils.isNotBlank(dto.getSszb())) { |
|
|
@ -154,7 +157,7 @@ public class IcPartyMemberServiceImpl extends BaseServiceImpl<IcPartyMemberDao, |
|
|
|
if (NumConstant.ZERO_STR.equals(dto.getOrgPids())) { |
|
|
|
dto.setOrgPids(dto.getSszb()); |
|
|
|
} else { |
|
|
|
dto.setOrgPids(dto.getOrgPids().concat(StrConstant.COMMA).concat(dto.getSszb())); |
|
|
|
dto.setOrgPids(dto.getOrgPids().concat(StrConstant.COLON).concat(dto.getSszb())); |
|
|
|
} |
|
|
|
} |
|
|
|
//职务
|
|
|
|