|
|
@ -238,7 +238,7 @@ public class IcUserTransferRecordServiceImpl extends BaseServiceImpl<IcUserTrans |
|
|
|
IcUserChangeDetailedEntity inEntity = null; |
|
|
|
AgencyInfoCache oldAgencyInfo = CustomerOrgRedis.getAgencyInfo(resiUserDTO.getAgencyId()); |
|
|
|
if (null == oldAgencyInfo) { |
|
|
|
throw new EpmetException(String.format("查询组织信息失败%s", resiUserDTO.getAgencyId())); |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), String.format("查询居民当前所属组织信息失败agencyId:%s", resiUserDTO.getAgencyId()), "获取组织信息异常"); |
|
|
|
} |
|
|
|
AgencyInfoCache newAgencyInfo = new AgencyInfoCache(); |
|
|
|
if (!IcResiUserConstant.DIED.equals(origin)) { |
|
|
@ -246,7 +246,7 @@ public class IcUserTransferRecordServiceImpl extends BaseServiceImpl<IcUserTrans |
|
|
|
if ("in".equals(formDTO.getType())) { |
|
|
|
newAgencyInfo = CustomerOrgRedis.getAgencyInfo(formDTO.getNewAgencyId()); |
|
|
|
if (null == newAgencyInfo) { |
|
|
|
throw new EpmetException(String.format("查询组织信息失败%s", formDTO.getNewAgencyId())); |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), String.format("查询新组织信息失败newAgencyId:%s", formDTO.getNewAgencyId()), "获取组织信息异常"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|