添加根据用户名查所在部门接口

master
xuhx 4 years ago
parent c8a0964540
commit ca0cb3e01a

@ -519,4 +519,18 @@ public class FontController {
e.printStackTrace();
}
}
/**
*
* @return String
* @throws Exception
* @CreateDate: 2021-08-30
* @UpdateUser: wzq
*/
@RequestMapping("/getDeptCodeByUserName")
@ResponseBody
public String getDeptCodeByDeptId(Integer deptId) throws Exception{
Power_Dept power_dept = power_deptService.selectByPrimaryKey(deptId);
return power_dept.getDeptCode();
}
}

Loading…
Cancel
Save