|
|
@ -570,6 +570,9 @@ public class AgencyServiceImpl implements AgencyService { |
|
|
|
MapOrgResultDTO result = new MapOrgResultDTO(); |
|
|
|
if (StringUtils.isBlank(formDTO.getOrgId())){ |
|
|
|
CustomerStaffInfoCacheResult staffInfo = CustomerStaffRedis.getStaffInfo(tokenDto.getCustomerId(), tokenDto.getUserId()); |
|
|
|
if (null == staffInfo){ |
|
|
|
return result; |
|
|
|
} |
|
|
|
formDTO.setOrgId(staffInfo.getFromOrgId()); |
|
|
|
formDTO.setLevel(staffInfo.getFromOrgType()); |
|
|
|
} |
|
|
|