mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	@@ -119,6 +119,7 @@ public class UserController {
 | 
			
		||||
    @PreAuthorize("@ss.hasPermission('system:user:query')")
 | 
			
		||||
    public CommonResult<UserRespVO> getUser(@RequestParam("id") Long id) {
 | 
			
		||||
        AdminUserDO user = userService.getUser(id);
 | 
			
		||||
        if (ObjectUtil.isEmpty(user)) return CommonResult.success(null);
 | 
			
		||||
        // 拼接数据
 | 
			
		||||
        DeptDO dept = deptService.getDept(user.getDeptId());
 | 
			
		||||
        return success(UserConvert.INSTANCE.convert(user, dept));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user