|
|
@ -181,6 +181,9 @@ public class IcPartyActServiceImpl extends BaseServiceImpl<IcPartyActDao, IcPart |
|
|
|
|
|
|
|
//!!!!!!!不用前端传的了。 我自己查询吧
|
|
|
|
IcPartyOrgInfo icPartyOrgInfo=SpringContextUtils.getBean(IcPartyOrgService.class).queryIcPartyOrgInfo(formDTO.getPublishPartyOrgId()); |
|
|
|
if (null == icPartyOrgInfo || StringUtils.isBlank(icPartyOrgInfo.getPartyOrgIdPath())) { |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "党组织信息查询异常", "党组织信息查询异常"); |
|
|
|
} |
|
|
|
icPartyActEntity.setPublishOrgPath(icPartyOrgInfo.getPartyOrgIdPath()); |
|
|
|
|
|
|
|
AgencyInfoCache agencyInfoCache= CustomerOrgRedis.getAgencyInfo(staffInfo.getAgencyId()); |
|
|
@ -225,6 +228,9 @@ public class IcPartyActServiceImpl extends BaseServiceImpl<IcPartyActDao, IcPart |
|
|
|
joinOrg.setIcPartyActId(icPartyActEntity.getId()); |
|
|
|
//!!!!!!!不用前端传的了。 我自己查询吧
|
|
|
|
IcPartyOrgInfo joinPartyOrgInfo=SpringContextUtils.getBean(IcPartyOrgService.class).queryIcPartyOrgInfo(joinOrg.getId()); |
|
|
|
if (null == joinPartyOrgInfo || StringUtils.isBlank(joinPartyOrgInfo.getPartyOrgIdPath())) { |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "党组织信息查询异常", "党组织信息查询异常"); |
|
|
|
} |
|
|
|
joinOrg.setJoinOrgPath(joinPartyOrgInfo.getPartyOrgIdPath()); |
|
|
|
icPartyActOrgDao.insert(joinOrg); |
|
|
|
}); |
|
|
|