ZQN
2024-06-22 b48de0e35c54bd4715f8de2b86bac5a539c27275
project-system/src/main/java/com/project/system/service/impl/SysUserServiceImpl.java
@@ -284,6 +284,7 @@
        userPostMapper.deleteUserPostByUserId(userId);
        // 新增用户与岗位管理
        insertUserPost(user);
        return userMapper.updateUser(user);
    }
@@ -546,8 +547,13 @@
    }
    @Override
    public List<Long> getNumByRoleKey(String roleKey, Long deptId)
    public List<String> getPhonesByRoleKey(String roleKey, Long deptId)
    {
        return userMapper.getNumByRoleKey(roleKey, deptId);
        return userMapper.getPhonesByRoleKey(roleKey, deptId);
    }
    @Override
    public int resetPhone(Long userId, String phone) {
        return userMapper.resetPhone(userId, phone);
    }
}