package com.yonge.cooleshow.biz.dal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yonge.cooleshow.biz.dal.dao.ImUserFriendDao;
import com.yonge.cooleshow.biz.dal.entity.ImUserFriend;
import com.yonge.toolset.mybatis.page.PageInfo;
import com.yonge.toolset.mybatis.page.QueryInfo;

import java.util.Map;
import java.util.Set;

/**
 * 用户通讯录表(ImUserFriend)表服务接口
 *
 * @author zx
 * @since 2022-03-22 10:46:00
 */
public interface ImUserFriendService extends IService<ImUserFriend> {

    ImUserFriendDao getDao();

    /**
    * @description: 保存用户通讯录
     * @param teacherId
     * @param studentIds
    * @return void
    * @author zx
    * @date 2022/3/24 10:06
    */
    void saveUserFriend(Long teacherId, Set<Long> studentIds);

    /**
    * @description: 获取用户详情
     * @param userId
    * @return com.yonge.cooleshow.biz.dal.entity.ImUserFriend
    * @author zx
    * @date 2022/3/24 12:03
    */
    ImUserFriend getDetail(Long userId);
}

