|
|
@ -228,7 +228,7 @@ public class IcPartyMemberServiceImpl extends BaseServiceImpl<IcPartyMemberDao, |
|
|
|
if (null == org) { |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "党组织不存在", "党组织不存在"); |
|
|
|
} |
|
|
|
if (!NumConstant.FIVE_STR.equals(org.getPartyOrgType())) { |
|
|
|
if (!NumConstant.FIVE_STR.equals(org.getPartyOrgType())&&!NumConstant.SIX_STR.equals(org.getPartyOrgType())) { |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "所选党组织不是支部", "所选党组织不是支部"); |
|
|
|
} |
|
|
|
dto.setCustomerId(org.getCustomerId()); |
|
|
|