|
@ -79,10 +79,13 @@ public class EpmetMessageServiceImpl implements EpmetMessageService { |
|
|
dto.setStaffId(item.getStaffId()); |
|
|
dto.setStaffId(item.getStaffId()); |
|
|
dto.setReadFlag(item.getReadFlag()); |
|
|
dto.setReadFlag(item.getReadFlag()); |
|
|
CustomerStaffInfoCacheResult staffInfoCache = CustomerStaffRedis.getStaffInfo(item.getCustomerId(), item.getStaffId()); |
|
|
CustomerStaffInfoCacheResult staffInfoCache = CustomerStaffRedis.getStaffInfo(item.getCustomerId(), item.getStaffId()); |
|
|
dto.setStaffName(staffInfoCache.getRealName()); |
|
|
if (null != staffInfoCache) { |
|
|
dto.setGender(staffInfoCache.getGender()); |
|
|
dto.setStaffName(staffInfoCache.getRealName()); |
|
|
dto.setHeadPhoto(staffInfoCache.getHeadPhoto()); |
|
|
dto.setGender(staffInfoCache.getGender()); |
|
|
dto.setOrgName(staffInfoCache.getTwoOrgName()); |
|
|
dto.setHeadPhoto(staffInfoCache.getHeadPhoto()); |
|
|
|
|
|
dto.setOrgName(staffInfoCache.getTwoOrgName()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return dto; |
|
|
return dto; |
|
|
}).collect(Collectors.toList()); |
|
|
}).collect(Collectors.toList()); |
|
|
result.setDataList(dataList); |
|
|
result.setDataList(dataList); |
|
|