fix: 使用departmentService获取部门信息
This commit is contained in:
parent
e716803cbb
commit
df4f6442c1
@ -701,7 +701,7 @@ public class TaskService {
|
||||
// 获取用户所属部门类型
|
||||
String deptType = null;
|
||||
if (user.getDeptId() != null) {
|
||||
Department dept = departmentMapper.selectById(user.getDeptId());
|
||||
Department dept = departmentService.getDepartmentById(user.getDeptId());
|
||||
if (dept != null) {
|
||||
deptType = dept.getDeptType();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user