mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	优化查询用户详细信息
This commit is contained in:
		@@ -105,7 +105,7 @@ public class SysUserController extends BaseController
 | 
			
		||||
        if (StringUtils.isNotNull(userId))
 | 
			
		||||
        {
 | 
			
		||||
            SysUser sysUser = userService.selectUserById(userId);
 | 
			
		||||
            ajax.put(AjaxResult.DATA_TAG, userService.selectUserById(userId));
 | 
			
		||||
            ajax.put(AjaxResult.DATA_TAG, sysUser);
 | 
			
		||||
            ajax.put("postIds", postService.selectPostListByUserId(userId));
 | 
			
		||||
            ajax.put("roleIds", sysUser.getRoles().stream().map(SysRole::getRoleId).collect(Collectors.toList()));
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user