fix: 修复编译错误,使用userService替代userMapper
This commit is contained in:
parent
16f035dcee
commit
96bf8aef68
@ -2393,7 +2393,7 @@ public class TaskService {
|
||||
|
||||
// 获取用户自己的部门类型(用于普通用户统计)
|
||||
String userDeptType = null;
|
||||
User currentUser = userMapper.selectById(userId);
|
||||
User currentUser = userService.getUserById(userId);
|
||||
if (currentUser != null && currentUser.getDeptId() != null) {
|
||||
Department userDept = departmentMapper.selectById(currentUser.getDeptId());
|
||||
if (userDept != null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user