|
|
@ -191,7 +191,7 @@ public class IcNeighborHoodServiceImpl extends BaseServiceImpl<IcNeighborHoodDao |
|
|
|
log.info("agencyId与gridId都为空时,默认查询当前工作人员所属组织下的小区"); |
|
|
|
CustomerStaffInfoCacheResult result= CustomerStaffRedis.getStaffInfo(customerId,staffId); |
|
|
|
if (null == result || StringUtils.isBlank(result.getAgencyId())) { |
|
|
|
log.error(String.format("staffId:%s,工作人员缓存信息查询异常")); |
|
|
|
log.error(String.format("staffId:%s,工作人员缓存信息查询异常", tokenDto.getUserId())); |
|
|
|
return Collections.emptyList(); |
|
|
|
} |
|
|
|
agencyId=result.getAgencyId(); |
|
|
@ -218,7 +218,7 @@ public class IcNeighborHoodServiceImpl extends BaseServiceImpl<IcNeighborHoodDao |
|
|
|
log.info("agencyId与gridId都为空时,默认查询当前工作人员所属组织下的小区"); |
|
|
|
CustomerStaffInfoCacheResult result= CustomerStaffRedis.getStaffInfo(tokenDto.getCustomerId(), tokenDto.getUserId()); |
|
|
|
if (null == result || StringUtils.isBlank(result.getAgencyId())) { |
|
|
|
log.error(String.format("staffId:%s,工作人员缓存信息查询异常")); |
|
|
|
log.error(String.format("staffId:%s,工作人员缓存信息查询异常", tokenDto.getUserId())); |
|
|
|
return Collections.emptyList(); |
|
|
|
} |
|
|
|
dto.setAgencyId(result.getAgencyId()); |
|
|
|