| 
						
						
							
								
							
						
						
					 | 
					@ -5,7 +5,9 @@ import com.epmet.commons.dynamic.datasource.annotation.DataSource; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.constant.NumConstant; | 
					 | 
					 | 
					import com.epmet.commons.tools.constant.NumConstant; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.constant.StrConstant; | 
					 | 
					 | 
					import com.epmet.commons.tools.constant.StrConstant; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.dto.form.IdAndNameDTO; | 
					 | 
					 | 
					import com.epmet.commons.tools.dto.form.IdAndNameDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.enums.OrgTypeEnum; | 
					 | 
					 | 
					import com.epmet.commons.tools.enums.OrgTypeEnum; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.epmet.commons.tools.redis.common.CustomerStaffRedis; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.utils.ConvertUtils; | 
					 | 
					 | 
					import com.epmet.commons.tools.utils.ConvertUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.utils.DateUtils; | 
					 | 
					 | 
					import com.epmet.commons.tools.utils.DateUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.constant.BadgeConstant; | 
					 | 
					 | 
					import com.epmet.constant.BadgeConstant; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -73,6 +75,8 @@ public class EpmetUserServiceImpl implements EpmetUserService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private GovProjectService govProjectService; | 
					 | 
					 | 
					    private GovProjectService govProjectService; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Resource | 
					 | 
					 | 
					    @Resource | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private GovStaffRoleDao govStaffRoleDao; | 
					 | 
					 | 
					    private GovStaffRoleDao govStaffRoleDao; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    @Resource | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    private CustomerStaffRedis customerStaffRedis; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /** | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @Description  根据UserIds查询 | 
					 | 
					 | 
					     * @Description  根据UserIds查询 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -481,7 +485,13 @@ public class EpmetUserServiceImpl implements EpmetUserService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return staffRoleList.stream().map(item -> { | 
					 | 
					 | 
					        return staffRoleList.stream().map(item -> { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            RoleUsersResultDTO dto = new RoleUsersResultDTO(); | 
					 | 
					 | 
					            RoleUsersResultDTO dto = new RoleUsersResultDTO(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            dto.setStaffId(item.getStaffId()); | 
					 | 
					 | 
					            dto.setStaffId(item.getStaffId()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            //TODO 从redis获取用户信息
 | 
					 | 
					 | 
					            //从redis获取用户信息
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            CustomerStaffInfoCacheResult staffInfoCache = customerStaffRedis.getStaffInfo(item.getCustomerId(), item.getStaffId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            dto.setGender(staffInfoCache.getGender()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            dto.setHeadPhoto(staffInfoCache.getHeadPhoto()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            dto.setName(staffInfoCache.getRealName()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            dto.setOrgName(staffInfoCache.getTwoOrgName()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            dto.setRoles(new ArrayList<>(staffInfoCache.getRoleMap().values())); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            return dto; | 
					 | 
					 | 
					            return dto; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        }).collect(Collectors.toList()); | 
					 | 
					 | 
					        }).collect(Collectors.toList()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |