|
|
|
@ -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();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|