|  | @@ -2,6 +2,7 @@ package com.ym.mec.web.controller;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import com.ym.mec.auth.api.client.SysUserFeignService;
 | 
	
		
			
				|  |  |  import com.ym.mec.auth.api.entity.SysUser;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.dao.EmployeeDao;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.entity.Employee;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.enums.EmployeeOperateEnum;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.page.EmployeeQueryInfo;
 | 
	
	
		
			
				|  | @@ -38,6 +39,8 @@ public class EmployeeController extends BaseController {
 | 
	
		
			
				|  |  |      private StudentManageService studentManageService;
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private OrganizationService organizationService;
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private EmployeeDao employeeDao;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiOperation(value = "根据部门获取下面的员工")
 | 
	
		
			
				|  |  |      @GetMapping("/queryEmployByOrganId")
 | 
	
	
		
			
				|  | @@ -124,6 +127,7 @@ public class EmployeeController extends BaseController {
 | 
	
		
			
				|  |  |          if(sysUser != null && sysUser.getId() != null){
 | 
	
		
			
				|  |  |              Employee employee = employeeService.get(sysUser.getId());
 | 
	
		
			
				|  |  |              sysUser.setOrganName(organizationService.getOrganName(employee.getOrganIdList()));
 | 
	
		
			
				|  |  | +            sysUser.setRoles(employeeDao.queryUserRole(sysUser.getId()));
 | 
	
		
			
				|  |  |              return succeed(sysUser);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          return failed("获取用户信息失败");
 |